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 -
Initializes a new
UserKey.Declaration
Swift
public init(keyTag: String, userId: String, username: String, kid: String, authType: DeviceBindingAuthenticationType)Parameters
keyTagThe key tag.
userIdThe user ID.
usernameThe username.
kidThe key ID.
authTypeThe authentication type.
View on GitHub