mirror of
https://github.com/bitwarden/ios.git
synced 2026-04-12 15:27:15 -05:00
18 lines
619 B
Swift
18 lines
619 B
Swift
/// API response model for a user's decryption options.
|
|
///
|
|
struct UserDecryptionOptions: Codable, Equatable, Hashable {
|
|
// MARK: Properties
|
|
|
|
/// Whether the current user has a master password that can be used to decrypt their vault.
|
|
var hasMasterPassword: Bool
|
|
|
|
/// The user's master password unlock info.
|
|
var masterPasswordUnlock: MasterPasswordUnlockResponseModel?
|
|
|
|
/// Details of the user's key connector setup.
|
|
let keyConnectorOption: KeyConnectorUserDecryptionOption?
|
|
|
|
/// Details of the user's trust device setup.
|
|
let trustedDeviceOption: TrustedDeviceUserDecryptionOption?
|
|
}
|