Module distant_net::common::authentication
source · Modules
Structs
Implementation of
AuthHandler that maintains a map of AuthMethodHandler implementations
for specific methods, invoking on_challenge, on_verification, on_info, and
on_error for a specific handler based on an associated id.Dummy implementation of
AuthHandler where any challenge or verification request will
instantly fail.Implementation of
AuthHandler that holds a mutable reference to another AuthHandler
trait object to use underneath.Manages keys with associated ids. Cloning will result in a copy pointing to the same underlying
storage, which enables support of managing the keys across multiple threads.
Authenticaton method for a static secret key
Blocking implementation of
AuthMethodHandler that uses prompts to communicate challenge &
verification requests, receiving responses to relay back.Implementation of
AuthHandler that redirects all requests to an Authenticator.Implementation of
AuthHandler that uses the same AuthMethodHandler for all methods.Implementation of
AuthMethodHandler that answers challenge requests using a static
HeapSecretKey. All other portions of method authentication are handled by another
AuthMethodHandler.Authenticaton method for a static secret key
Supports authenticating using a variety of methods
Enums
Represents the result of a request to the database.
Traits
Interface for a handler of authentication requests for all methods.
Interface for a handler of authentication requests for a specific authentication method.
Represents an interface for authenticating with a server.
Represents an interface to authenticate using some method
Represents an interface for submitting challenges for authentication.