public interface RegisterMfaHandler
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(java.lang.Exception exception)
This method invoked when the MFA registration has failed.
|
void |
onSuccess(java.lang.String sessionToken)
This method is invoked on successfully registering an MFA.
|
void |
onVerify(VerifyMfaContinuation continuation)
This method is invoked when verification is required to complete registering a new MFA.
|
void onSuccess(java.lang.String sessionToken)
If a session token was use to resister (associate) an MFA, then a token is returned in
sessionToken. This can be used with RegisterMfaContinuation
to continue user authentication.
sessionToken is when a session token is not used to register the MFA.
sessionToken - - Session Token to continue user authentication.void onVerify(VerifyMfaContinuation continuation)
continuation - allows to continue with MFA verification.void onFailure(java.lang.Exception exception)
exception - contains details about the failure.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.