NMABiometricUserVerificationHandler
@objc
public protocol NMABiometricUserVerificationHandler : NMACancelableHandler
The object handling the outcome of an interaction where the user provides biometric credentials.
This is used with the NMAAuthenticator/fingerprintAuthenticatorAaid
, or NMAAuthenticator/faceRecognitionAuthenticatorAaid
.
The particularity of this authenticator with the other authenticators, is that the SDK relies on the operating
system prompt to authentication.
(i.e. there is no need to develop a GUI to do the authentication when this authenticator is used).
-
When this method is invoked, the SDK will wait for the user to provide credentials. If the credentials are provided, it will be checked that they are valid.
Before invoking this method, there is a chance to present some user interface to ask for confirmation for authentication. If confirmation is not given the user has a chance to opt-out the authentication.
Requires
iOS platformDeclaration
Swift
func verify()