mirror of
https://github.com/bitwarden/mobile
synced 2025-12-14 15:23:35 +00:00
* [PM-2297] Add DecryptUserKeyWithDeviceKey method * [PM-2297] Add methods to DeviceTrustCryptoService update decryption options model * [PM-2297] Update account decryption options model * [PM-2297] Fix TrustedDeviceOption and DeviceResponse model. Change StateService device key get set to have default user id * [PM-2297] Update navigation to decryption options * [PM-2297] Add missing action navigations to iOS extensions * [PM-2297] Fix trust device bug/typo * [PM-2297] Fix model bug * [PM-2297] Fix state var crash * [PM-2297] Add trust device login logic to auth service * [PM-2297] Refactor auth service key connector code * [PM-2297] Remove reconciledOptions for deviceKey in state service * [PM-2297] Remove unnecessary user id params
26 lines
733 B
C#
26 lines
733 B
C#
using System;
|
|
namespace Bit.Core.Models.Domain
|
|
{
|
|
public class AccountDecryptionOptions
|
|
{
|
|
public bool HasMasterPassword { get; set; }
|
|
public TrustedDeviceOption TrustedDeviceOption { get; set; }
|
|
public KeyConnectorOption KeyConnectorOption { get; set; }
|
|
}
|
|
|
|
public class TrustedDeviceOption
|
|
{
|
|
public bool HasAdminApproval { get; set; }
|
|
public bool HasLoginApprovingDevice { get; set; }
|
|
public bool HasManageResetPasswordPermission { get; set; }
|
|
public string EncryptedPrivateKey { get; set; }
|
|
public string EncryptedUserKey { get; set; }
|
|
}
|
|
|
|
public class KeyConnectorOption
|
|
{
|
|
public string KeyConnectorUrl { get; set; }
|
|
}
|
|
}
|
|
|