Interface PasswordUserVerificationContext
- All Superinterfaces:
UserVerificationContext
The object providing information about the password user verification (i.e. the user credential validation)
operation to be done.
This object contains the information required to ask the user to authenticate: the authenticator to be used, whether there were previous errors authenticating, etc.
-
Method Summary
Modifier and TypeMethodDescriptionThe authenticator protection status.When a recoverable error occurred during the last credential verification, this method returns the object describing the last error.Methods inherited from interface ch.nevis.mobile.sdk.api.operation.userverification.UserVerificationContext
authenticator
-
Method Details
-
authenticatorProtectionStatus
PasswordAuthenticatorProtectionStatus authenticatorProtectionStatus()The authenticator protection status.- Returns:
- authenticator protection status
-
lastRecoverableError
Optional<PasswordUserVerificationError> lastRecoverableError()When a recoverable error occurred during the last credential verification, this method returns the object describing the last error. If present, this means that an invalid password was provided in the previous invocation toPasswordUserVerificationHandler.verifyPassword(char[])
and thus the protection status isPasswordAuthenticatorProtectionStatus.LastAttemptFailed
.- Returns:
- the last error
-