AttachmentHint
public struct AttachmentHint : OptionSet, Codable
The AttachmentHint
options describe the method an authenticator uses to communicate with the FIDO User Device.
-
Declaration
Swift
public let rawValue: UInt32
-
Declaration
Swift
public init(rawValue: UInt32)
-
This option may be set to indicate that the authenticator is permanently attached to the FIDO User Device.
Declaration
Swift
static let `internal`: AttachmentHint
-
This option may be set to indicate, for a hardware-based authenticator, that it is removable or remote from the FIDO User Device.
Declaration
Swift
static let external: AttachmentHint
-
This option may be set to indicate that an external authenticator currently has an exclusive wired connection, e.g. through USB, Firewire or similar, to the FIDO User Device.
Declaration
Swift
static let wired: AttachmentHint
-
This option may be set to indicate that an external authenticator communicates with the FIDO User Device through a personal area or otherwise non-routed wireless protocol, such as Bluetooth or NFC.
Declaration
Swift
static let wireless: AttachmentHint
-
This option may be set to indicate that an external authenticator is able to communicate by NFC to the FIDO User Device.
Declaration
Swift
static let nfc: AttachmentHint
-
This option may be set to indicate an external authenticator is able to communicate using Bluetooth with the FIDO User Device.
Declaration
Swift
static let bluetooth: AttachmentHint
-
This option may be set to indicate that the authenticator is connected to the FIDO User Device over a non-exclusive network (e.g. over a TCP/IP LAN or WAN, as opposed to a PAN or point-to-point connection).
Declaration
Swift
static let network: AttachmentHint
-
This option may be set to indicate that an external authenticator is in a “ready” state. This flag is set by the ASM at its discretion.
Declaration
Swift
static let ready: AttachmentHint
-
This option may be set to indicate that an external authenticator is able to communicate using WiFi Direct with the FIDO User Device.
Declaration
Swift
static let direct: AttachmentHint