Interface PinUserVerificationContext
- All Superinterfaces:
UserVerificationContext
The object providing information about the PIN 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
PinAuthenticatorProtectionStatus authenticatorProtectionStatus()The authenticator protection status.- Returns:
- authenticator protection status
-
lastRecoverableError
Optional<PinUserVerificationError> 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 PIN was provided in the previous invocation toPinUserVerificationHandler.verifyPin(char[])
and thus the protection status isPinAuthenticatorProtectionStatus.LastAttemptFailed
.- Returns:
- the last error
-