UserKey

public struct UserKey : Codable, Identifiable, Sendable

A struct representing a user’s key.

  • id

    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
  • kid

    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 .biometricAllowFallback authenticators.

    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

    keyTag

    The key tag.

    userId

    The user ID.

    username

    The username.

    kid

    The key ID.

    authType

    The authentication type.

    biometricDomainState

    The biometric domain state at bind time.