mirror of
https://github.com/bitwarden/ios.git
synced 2026-04-13 01:13:26 -05:00
21 lines
604 B
Swift
21 lines
604 B
Swift
/// API response model for a user's trusted device decryption option.
|
|
///
|
|
struct TrustedDeviceUserDecryptionOption: Codable, Equatable, Hashable {
|
|
// MARK: Properties
|
|
|
|
/// The user's encrypted private key.
|
|
let encryptedPrivateKey: String?
|
|
|
|
/// The user's encrypted key.
|
|
let encryptedUserKey: String?
|
|
|
|
/// Whether the user has admin approval.
|
|
let hasAdminApproval: Bool
|
|
|
|
/// Whether the user has a login approving device.
|
|
let hasLoginApprovingDevice: Bool
|
|
|
|
/// Whether the user has manage reset password permission.
|
|
let hasManageResetPasswordPermission: Bool
|
|
}
|