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,
com.amazonaws.services.cognitoidentityprovider.model.SignUpResult signUpResult)
This method is called successfully registering a new user.
|
void onSuccess(CognitoUser user, com.amazonaws.services.cognitoidentityprovider.model.SignUpResult signUpResult)
user
- CognitoUser
signUpResult
- The result of a sign up action.void onFailure(java.lang.Exception exception)
exception
for cause of the failure.exception
- REQUIRED: Failure details.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.