Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AuthFlowResponse response = null;
- try
- {
- response = await user.StartWithSrpAuthAsync(
- srpRequest: new InitiateSrpAuthRequest
- {
- Password = password
- });
- }
- catch(Amazon.CognitoIdentityProvider.Model.UserNotConfirmedException e)
- {
- // never catches here
- }
- catch(Amazon.CognitoIdentityProvider.Model.UserNotFoundException e)
- {
- // catches here
- }
Add Comment
Please, Sign In to add comment