UserVerify
public struct UserVerify : OptionSet, Codable
UserVerify
values describe the methods and capabilities of a UAF authenticator for locally verifying a user.
These constants are used in the authoritative metadata for an authenticator, reported and queried through the UAF Discovery APIs, and used to form authenticator policies in UAF protocol messages.
-
Declaration
Swift
public let rawValue: UInt32
-
Declaration
Swift
public init(rawValue: UInt32)
-
This option must be set if the authenticator is able to confirm user presence in any fashion. If this option and no other is set for user verification, the guarantee is only that the authenticator cannot be operated without some human intervention, not necessarily that the presence verification provides any level of authentication of the human’s identity. (e.g. a device that requires a touch to activate).
Declaration
Swift
static let presence: UserVerify
-
This option must be set if the authenticator uses any type of measurement of a fingerprint for user verification.
Declaration
Swift
static let fingerprint: UserVerify
-
This option must be set if the authenticator uses a local-only passcode (i.e. a passcode not known by the server) for user verification.
Declaration
Swift
static let passcode: UserVerify
-
This option must be set if the authenticator uses a voiceprint (also known as speaker recognition) for user verification.
Declaration
Swift
static let voiceprint: UserVerify
-
This option must be set if the authenticator uses any manner of face recognition to verify the user.
Declaration
Swift
static let faceprint: UserVerify
-
This option must be set if the authenticator uses any form of location sensor or measurement for user verification.
Declaration
Swift
static let location: UserVerify
-
This option must be set if the authenticator uses any form of eye biometrics for user verification.
Declaration
Swift
static let eyeprint: UserVerify
-
This option must be set if the authenticator uses a drawn pattern for user verification.
Declaration
Swift
static let pattern: UserVerify
-
This option must be set if the authenticator uses any measurement of a full hand (including palm-print, hand geometry or vein geometry) for user verification.
Declaration
Swift
static let handprint: UserVerify
-
This option must be set if the authenticator will respond without any user interaction (e.g. Silent Authenticator).
Declaration
Swift
static let none: UserVerify
-
If an authenticator sets multiple options for user verification types, it may also set this option to indicate that all verification methods will be enforced (e.g. faceprint AND voiceprint). If options for multiple user verification methods are set and this option is not set, verification with only one is necessary (e.g. fingerprint OR passcode).
Declaration
Swift
static let all: UserVerify