/
ValidateOtpTask
ValidateOtpTask
ValidateOtpTask.runTask(TaskListener taskListener, String serverUrl, String username, String otpValue)
taskListener - Listener to processes the result of the request.
serverUrl - The URL of the SurePassID FIDO Server.
sessionToken - The value returned by ValidateUserTask after successfully authenticating with a username and password.
otpValue - The OTP value to validate.
Example
ValidateOtpTask.runTask(new TaskListener() { @Override public void onTaskSuccess() { } @Override public void onTaskError(String errorMessage, int errorCode) { if (errorCode == OTP_VALIDATION_FAILED_ERROR) { // An invalid OTP value was entered by the user. } else { // Another error occurred processing the request. } } }, serverUrl, mSessiontoken, otpValue);
, multiple selections available,
Related content
SendOtpTask
SendOtpTask
More like this
ValidateUserTask
ValidateUserTask
More like this
ValidateUserTask (new)
ValidateUserTask (new)
More like this
GetSecurityKeyListTask
GetSecurityKeyListTask
More like this
FIDO U2F Enroll Operation - Android Example
FIDO U2F Enroll Operation - Android Example
More like this
FIDO U2F Sign Operation - Android Example
FIDO U2F Sign Operation - Android Example
More like this