Interface PasswordUserVerificationHandler
- All Superinterfaces:
CancelableHandler
The object handling the outcome of an interaction where the user provides password credentials.
This is used with the Authenticator.PASSWORD_AUTHENTICATOR_AAID
.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
The method to be invoked to cancel the user verification.void
verifyPassword
(char[] password) The method to be invoked when the password authenticator must be used.
-
Method Details
-
verifyPassword
void verifyPassword(char[] password) The method to be invoked when the password authenticator must be used. The SDK will verify that the provided password is valid.- Parameters:
password
- the password.- Throws:
IllegalStateException
- if eithercancel()
or this method were previously invoked
-
cancel
void cancel()The method to be invoked to cancel the user verification.- Specified by:
cancel
in interfaceCancelableHandler
- Throws:
IllegalStateException
- if this method, or any other method of the consumer (likeverifyPassword(char[])
) were previously invoked
-