Expand description
Functionality for syncing the latest account data from the server
StructsΒ§
- KeyRotation
Data π - The account keys data needed for key rotation, fetched from the key rotation data endpoint.
- Synced
Account πData
EnumsΒ§
- Sync
Error π
ConstantsΒ§
TraitsΒ§
- Debug
MapErr π
FunctionsΒ§
- from_
kdf π - get_
key_ πrotation_ data - Download the key rotation data from the server. This is the public keys for the password reset enrolled organizations and emergency-access grantees, and the encrypted keysets for the trusted devices and PRF-enabled passkeys. The server filters these to only the entries that participate in key rotation, so no client-side filtering is required.
- parse_
ciphers π - parse_
folders π - parse_
kdf_ πand_ salt - Parses the userβs KDF and salt from the sync response. If the user is not a master-password user, returns Ok(None)
- parse_
sends π - sync_
current_ πaccount_ data