Guest User

Untitled

a guest
Feb 13th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. AuthFlowResponse response = null;
  2. try
  3. {
  4. response = await user.StartWithSrpAuthAsync(
  5. srpRequest: new InitiateSrpAuthRequest
  6. {
  7. Password = password
  8. });
  9. }
  10. catch(Amazon.CognitoIdentityProvider.Model.UserNotConfirmedException e)
  11. {
  12. // never catches here
  13. }
  14. catch(Amazon.CognitoIdentityProvider.Model.UserNotFoundException e)
  15. {
  16. // catches here
  17. }
Add Comment
Please, Sign In to add comment