AuthorizationErrorCode.cs 795 B

123456789101112131415161718192021222324252627282930313233
  1. namespace AppleAuth.Enums
  2. {
  3. /// <summary>
  4. /// ASAuthorizationError
  5. /// </summary>
  6. public enum AuthorizationErrorCode
  7. {
  8. /// <summary>
  9. /// The authorization attempt failed for an unknown reason
  10. /// </summary>
  11. Unknown = 1000,
  12. /// <summary>
  13. /// The user canceled the authorization attempt
  14. /// </summary>
  15. Canceled = 1001,
  16. /// <summary>
  17. /// The authorization request received an invalid response
  18. /// </summary>
  19. InvalidResponse = 1002,
  20. /// <summary>
  21. /// The authorization request wasn't handled
  22. /// </summary>
  23. NotHandled = 1003,
  24. /// <summary>
  25. /// The authorization attempt failed
  26. /// </summary>
  27. Failed = 1004,
  28. }
  29. }