Skip to main content

Module auth

Module auth 

Source
Expand description

Authentication module

Contains all the authentication related functionality for registering and logging in.

Re-exportsยง

pub use auth_tokens::ClientManagedTokenHandler;
pub use auth_tokens::ClientManagedTokens;
pub use auth_tokens::TokenHandler;

Modulesยง

access_token ๐Ÿ”’
api ๐Ÿ”’
auth_client
auth_request ๐Ÿ”’
auth_tokens
Trait definitions and basic implementations for handling authentication tokens in the SDK. The complete implementations are located in the bitwarden-auth crate.
jwt_token ๐Ÿ”’
key_connector ๐Ÿ”’
login
password
pin
register ๐Ÿ”’
tde ๐Ÿ”’

Structsยง

AccessToken
Access Token
AuthRequestResponse
Response for new_auth_request.
JwtToken
A Bitwarden secrets manager JWT Token.
KeyConnectorResponse
RegisterKeyResponse
RegisterRequest
RegisterTdeKeyResponse

Enumsยง

AccessTokenInvalidError
ApproveAuthRequestError
AuthValidateError
Error for authentication related operations
JwtTokenParseError
Error when parsing JWT tokens.
RegisterError

Constantsยง

UNIFFI_META_CONST_BITWARDEN_CORE_ERROR_AUTHVALIDATEERROR ๐Ÿ”’