WebAuthnDevice
public struct WebAuthnDevice : Device
Struct representing a WebAuthn device.
-
The ID of the device.
Declaration
Swift
public let id: String
-
The name of the device.
Declaration
Swift
public var deviceName: String
-
The URL suffix for the device.
Declaration
Swift
public let urlSuffix: String
-
The UUID of the device.
Declaration
Swift
public let uuid: String
-
The credential ID of the device.
Declaration
Swift
public let credentialId: String
-
The creation date of the device.
Declaration
Swift
public let createdDate: TimeInterval
-
The last access date of the device.
Declaration
Swift
public let lastAccessDate: TimeInterval
-
Creates a new instance by decoding from the given decoder. This initializer throws an error if reading from the decoder fails, or if the data read is corrupted or otherwise invalid.
Declaration
Swift
public init(from decoder: any Decoder) throws
Parameters
decoder
The decoder to read data from.