mirror of
https://github.com/bitwarden/mobile
synced 2025-12-16 00:03:22 +00:00
[PM-3811] Passkeys unification (#2774)
* PM-3811 Unified passkeys view and moved both inside Login as an array of FIdo2Key * PM-3811 Passkeys unification => updated cipher details view an helpers * PM-3811 Updated passkeys creation date time format
This commit is contained in:
committed by
GitHub
parent
6ef6cf5d84
commit
a4a0d31fc6
@@ -31,7 +31,7 @@ namespace Bit.Core.Models.Request
|
||||
Password = cipher.Login.Password?.EncryptedString,
|
||||
PasswordRevisionDate = cipher.Login.PasswordRevisionDate,
|
||||
Totp = cipher.Login.Totp?.EncryptedString,
|
||||
Fido2Key = cipher.Login.Fido2Key != null ? new Fido2KeyApi(cipher.Login.Fido2Key) : null
|
||||
Fido2Keys = cipher.Login.Fido2Keys?.Select(f => new Fido2KeyApi(f)).ToList()
|
||||
};
|
||||
break;
|
||||
case CipherType.Card:
|
||||
@@ -74,9 +74,6 @@ namespace Bit.Core.Models.Request
|
||||
Type = cipher.SecureNote.Type
|
||||
};
|
||||
break;
|
||||
case CipherType.Fido2Key:
|
||||
Fido2Key = new Fido2KeyApi(cipher.Fido2Key);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@@ -122,7 +119,6 @@ namespace Bit.Core.Models.Request
|
||||
public SecureNoteApi SecureNote { get; set; }
|
||||
public CardApi Card { get; set; }
|
||||
public IdentityApi Identity { get; set; }
|
||||
public Fido2KeyApi Fido2Key { get; set; }
|
||||
public List<FieldApi> Fields { get; set; }
|
||||
public List<PasswordHistoryRequest> PasswordHistory { get; set; }
|
||||
public Dictionary<string, string> Attachments { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user