daily pastebin goal
49%
SHARE
TWEET

Untitled

a guest Feb 13th, 2018 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
Top