public interface SignUpHandler
Modifier and Type | Method and Description |
---|---|
void |
onFailure(java.lang.Exception exception)
This method is called when user registration has failed.
|
void |
onSuccess(CognitoUser user,
boolean signUpConfirmationState,
CognitoUserCodeDeliveryDetails cognitoUserCodeDeliveryDetails)
This method is called successfully registering a new user.
|
void onSuccess(CognitoUser user, boolean signUpConfirmationState, CognitoUserCodeDeliveryDetails cognitoUserCodeDeliveryDetails)
user
- CognitoUser
signUpConfirmationState
- will be true
is the user has been confirmed,
otherwise false
.cognitoUserCodeDeliveryDetails
- REQUIRED: Indicates the medium and destination of the confirmation code.void onFailure(java.lang.Exception exception)
exception
for cause of the failure.exception
- REQUIRED: Failure details.Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.