public protocol DevicePasscodeUserVerifier

The object in charge of interacting with the user to do authenticate using the device passcode.


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.

  • 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.


    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 that DevicePasscodeUserVerifier/verifyDevicePasscode is only invoked once when using the device passcode authenticator.



    func verifyDevicePasscode(context: DevicePasscodeUserVerificationContext, handler: DevicePasscodeUserVerificationHandler)



    the object providing the contextual information required for the verification process.


    the object that must be notified with the result of the interaction.