DevicePasscodeUserVerifier
public protocol DevicePasscodeUserVerifier
The object in charge of interacting with the user to do authenticate using the device passcode.
Note
The SDK does not provide implementations of this interface. The implementation must be done by the user of the SDK if the device passcode authenticator is required.
See
See
-
The user verification interaction. In the case of the registration the user must provide credentials as required by the FIDO UAF protocol. In the case of the authentication, this is invoked for the user to provide credentials. This object will be invoked in the
DispatchQueue.main
thread.Note
In the case of the device passcode authenticator, since the UI management is delegated to the operating system, the
DevicePasscodeUserVerifier/verifyDevicePasscode
method will not be invoked when a recoverable error occurs: the operating system will inform the end-user of the problem that happened. This implies thatDevicePasscodeUserVerifier/verifyDevicePasscode
is only invoked once when using the device passcode authenticator.Declaration
Swift
func verifyDevicePasscode(context: DevicePasscodeUserVerificationContext, handler: DevicePasscodeUserVerificationHandler)
Parameters
context
the object providing the contextual information required for the verification process.
handler
the object that must be notified with the result of the interaction.