public interface SignUpHandler
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(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 - CognitoUsersignUpConfirmationState - will be true is the user has been confirmed,
otherwise false.cognitoUserCodeDeliveryDetails - REQUIRED: Indicates the medium and destination of the confirmation code.void onFailure(Exception exception)
exception for cause of the failure.exception - REQUIRED: Failure details.Copyright © 2019. All rights reserved.