Module tokio_ddmw::auth[][src]

Structs

AuthInfo

Enums

Token

Used to choose where an authentication token is fetched from.

Functions

accpass

Attempt to authenticate using an account name and a passphrase. Optionally request an authentication token if the authentication was successful.

authenticate

Helper function for authenticating a connection.

token

Attempt to authenticate using an authentication token. The token is either loaded from a file or stored in memory as a string. If the caller requested to load a token from a file, but that file can not be read, an error will be returned.

unauthenticate

Return ownership of a connection to the built-in unauthenticated account.