UserKey
public struct UserKey : Codable, Identifiable, Sendable
A struct representing a user’s key.
-
Declaration
Swift
public var id: String { get } -
The key tag.
Declaration
Swift
public let keyTag: String -
The user ID.
Declaration
Swift
public let userId: String -
The username.
Declaration
Swift
public let username: String -
The key ID.
Declaration
Swift
public let kid: String -
The authentication type.
Declaration
Swift
public let authType: DeviceBindingAuthenticationType -
The creation date.
Declaration
Swift
public let createdAt: Date -
The biometric domain state captured at bind time. Used to detect biometric enrollment changes between bind and sign operations for
.biometricAllowFallbackauthenticators.Declaration
Swift
public let biometricDomainState: Data? -
Initializes a new
UserKey.Declaration
Swift
public init(keyTag: String, userId: String, username: String, kid: String, authType: DeviceBindingAuthenticationType, biometricDomainState: Data? = nil)Parameters
keyTagThe key tag.
userIdThe user ID.
usernameThe username.
kidThe key ID.
authTypeThe authentication type.
biometricDomainStateThe biometric domain state at bind time.
View on GitHub