Crate bitwarden_auth

Source
Expand description

§Bitwarden Auth

Contains the implementation of the auth functionality for the Bitwarden Password Manager.

§Send Access

  • Manages obtaining send access tokens for accessing secured send endpoints.

Modules§

api 🔒
Module for API specific types / enums / etc. Note: API in the this case is generically used for any API calls. Not BW API vs BW Identity on server.
auth_client 🔒
send_access
The SendAccess module handles send access token requests and responses. We use a custom extension OAuth2 grant type to request send access tokens outside the context of a Bitwarden user. This will be used by the send portion of the Bitwarden web app to allow users to access send access functionality without needing to log in to a Bitwarden account. Sends can be anonymous, password protected, or email protected. If you request an access token for an anonymous send by id, no credentials are required. If you request an access token for a password protected send, you must provide a correct password hash. If you request an access token for an email protected send, you must provide the email address and a one-time passcode (OTP) sent to that email address.

Structs§

AuthClient
Subclient containing auth functionality.

Traits§

AuthClientExt
Extension trait for Client to provide access to the AuthClient.