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
  • Initializes a new UserKey.

    Declaration

    Swift

    public init(keyTag: String, userId: String, username: String, kid: String, authType: DeviceBindingAuthenticationType)

    Parameters

    keyTag

    The key tag.

    userId

    The user ID.

    username

    The username.

    kid

    The key ID.

    authType

    The authentication type.