Skip to main content

Module sync

Expand description

Functionality for syncing the latest account data from the server

StructsΒ§

SyncedAccountData πŸ”’

EnumsΒ§

SyncError πŸ”’

ConstantsΒ§

UNIFFI_META_CONST_BITWARDEN_USER_CRYPTO_MANAGEMENT_ERROR_SYNCERROR πŸ”’

TraitsΒ§

DebugMapErr πŸ”’

FunctionsΒ§

fetch_organization_public_key πŸ”’
Fetch the public key for a single organization
fetch_user_public_key πŸ”’
Fetch the public key for a user (used for emergency access)
from_kdf πŸ”’
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 πŸ”’
sync_devices πŸ”’
Sync the user’s trusted devices
sync_emergency_access πŸ”’
Download the emergency access memberships and their public keys
sync_orgs πŸ”’
sync_passkeys πŸ”’
Sync the user’s passkeys