OAuth2Error

public enum OAuth2Error

A failed authorization. See RFC6749 4.2.2.1

  • The client is not authorized to request an access token using this method.

    Declaration

    Swift

    case unauthorizedClient
  • The resource owner or authorization server denied the request.

    Declaration

    Swift

    case accessDenied
  • The authorization server does not support obtaining an access token using this method.

    Declaration

    Swift

    case unsupportedResponseType
  • The requested scope is invalid, unknown, or malformed.

    Declaration

    Swift

    case invalidScope
  • The authorization server encountered an unexpected condition that prevented it from fulfilling the request.

    Declaration

    Swift

    case serverError
  • The authorization server is currently unable to handle the request due to a temporary overloading or maintenance of the server.

    Declaration

    Swift

    case temporarilyUnavailable
  • The state param received from the authorization server does not match the state param stored by the SDK.

    Declaration

    Swift

    case inconsistentState
  • Some other error (outside of the OAuth2 specification)

    Declaration

    Swift

    case unknown