generated from bitwarden/template
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BIT-2043: Display passkeys in vault (#535)
- Loading branch information
1 parent
aeac35b
commit 0dbf027
Showing
38 changed files
with
262 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
BitwardenShared/Core/Vault/Models/API/CipherLoginFido2Credential.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import Foundation | ||
|
||
/// API model for a login cipher's FIDO2 credential. | ||
/// | ||
struct CipherLoginFido2Credential: Codable, Equatable { | ||
// MARK: Properties | ||
|
||
/// The signature counter for the credential. | ||
let counter: String | ||
|
||
/// The creation date and time of the credential. | ||
let creationDate: Date | ||
|
||
/// The unique identifier of the credential. | ||
let credentialId: String | ||
|
||
/// Whether the FIDO2 credential is discoverable. | ||
let discoverable: String | ||
|
||
/// The public key algorithm of the credential. | ||
let keyAlgorithm: String | ||
|
||
/// The key curve of the credential. | ||
let keyCurve: String | ||
|
||
/// The type of public key of the credential. | ||
let keyType: String | ||
|
||
/// The public key of the credential. | ||
let keyValue: String | ||
|
||
/// The relying party (RP) identity. | ||
let rpId: String | ||
|
||
/// An optional name of the relying party (RP). | ||
let rpName: String? | ||
|
||
/// An optional display name of the user associated to the credential. | ||
let userDisplayName: String? | ||
|
||
/// An optional unique identifier used to identify an account. | ||
let userHandle: String? | ||
|
||
/// An optional formal name of the user associated to the credential. | ||
let userName: String? | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.