Error
public enum Error : String, Swift.Error
A failed authorization as per RFC 6749.
-
The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed.
Declaration
Swift
case invalidRequest = "invalid_request"
-
The client is not authorized to request an access token using this method.
Declaration
Swift
case unauthorizedClient = "unauthorized_client"
-
The resource owner or authorization server denied the request.
Declaration
Swift
case accessDenied = "access_denied"
-
The authorization server does not support obtaining an access token using this method.
Declaration
Swift
case unsupportedResponseType = "unsupported_response_type"
-
The requested scope is invalid, unknown, or malformed.
Declaration
Swift
case invalidScope = "invalid_scope"
-
The authorization server encountered an unexpected condition that prevented it from fulfilling the request.
Declaration
Swift
case serverError = "server_error"
-
The authorization server is currently unable to handle the request due to a temporary overloading or maintenance of the server.
Declaration
Swift
case temporarilyUnavailable = "temporarily_unavailable"
-
Unexpected error.
Declaration
Swift
case unknown = "unknown"