Expand description
§Bitwarden Unlock
Contains the high-level unlock API used to rehydrate a locked client into an unlocked one, including session-key generation and unlocking by session key.
Underlying initialize_user_crypto_* primitives remain in bitwarden-core; this crate consumes
them to keep the dependency direction one-way.
Modules§
- session_
key 🔒 - unlock_
client 🔒 - Client for unlocking a rehydrated Bitwarden SDK client.
Structs§
- Session
Key - A symmetric key that wraps the user key in the persisted state, allowing a rehydrated client to unlock without re-deriving the user key from a master password or other primary unlock factor.
- Unlock
Client - Client for minting session keys and unlocking the vault with one.
Enums§
- Unlock
Error - Errors returned by
UnlockClient::generate_session_keyandUnlockClient::unlock. - Unlock
Method - The unlock factor used to unlock a rehydrated client.
Constants§
- UNIFFI_
META_ 🔒CONST_ NAMESPACE_ BITWARDEN_ UNLOCK - Export namespace metadata.
Traits§
- Unlock
Client Ext - Extension trait to add the unlock client to the main Bitwarden SDK client.