public interface VerificationHandler
Modifier and Type | Method and Description |
---|---|
void |
onFailure(java.lang.Exception exception)
This is called when the request for verification code failed.
|
void |
onSuccess(CognitoUserCodeDeliveryDetails verificationCodeDeliveryMedium)
This is called after the verification code was successfully sent.
|
void onSuccess(CognitoUserCodeDeliveryDetails verificationCodeDeliveryMedium)
verificationCodeDeliveryMedium
- specifies the medium (e.g. email, sms) used to deliver
the verification code.void onFailure(java.lang.Exception exception)
exception
for the
cause.exception
- REQUIRED: Failure details.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.