DCAuthenticationErrorReason Constants Reference
Declared in | DCErrors.h |
DCAuthenticationErrorReason
Error reason for DCAuthenticationErrorDomain.
Definition
typedef NS_ENUM(NSInteger, DCAuthenticationErrorReason ) {
DCAUTHENTICATIONERRORREASON_INVALID_REQUEST = 0,
DCAUTHENTICATIONERRORREASON_UNSUPPORTED_RESPONSE_TYPE = 1,
DCAUTHENTICATIONERRORREASON_SERVER_ERROR = 2,
DCAUTHENTICATIONERRORREASON_INVALID_GRANT = 3,
DCAUTHENTICATIONERRORREASON_INVALID_CLIENT = 4,
DCAUTHENTICATIONERRORREASON_UNAUTHORIZED_CLIENT = 5,
DCAUTHENTICATIONERRORREASON_UNSUPPORTED_GRANT_TYPE = 6,
DCAUTHENTICATIONERRORREASON_INVALID_SCOPE = 7,
DCAUTHENTICATIONERRORREASON_TEMPORARILY_UNAVAILABLE = 8,
DCAUTHENTICATIONERRORREASON_NO_REFRESH_TOKEN = 9,
};
Constants
DCAUTHENTICATIONERRORREASON_INVALID_REQUEST
-
The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed.
Declared In
DCErrors.h
. DCAUTHENTICATIONERRORREASON_UNSUPPORTED_RESPONSE_TYPE
-
The authorization server does not support requested response type.
Declared In
DCErrors.h
. DCAUTHENTICATIONERRORREASON_SERVER_ERROR
-
The authorization server encountered an unexpected condition that prevented it from fulfilling the request.
Declared In
DCErrors.h
. DCAUTHENTICATIONERRORREASON_INVALID_GRANT
-
The provided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.
Declared In
DCErrors.h
. DCAUTHENTICATIONERRORREASON_INVALID_CLIENT
-
Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method).
Declared In
DCErrors.h
. DCAUTHENTICATIONERRORREASON_UNAUTHORIZED_CLIENT
-
The client is not authorized to request an authorization code using this method.
Declared In
DCErrors.h
. DCAUTHENTICATIONERRORREASON_UNSUPPORTED_GRANT_TYPE
-
The authorization grant type is not supported by the authorization server.
Declared In
DCErrors.h
. DCAUTHENTICATIONERRORREASON_INVALID_SCOPE
-
The requested scope is invalid, unknown, or malformed.
Declared In
DCErrors.h
. DCAUTHENTICATIONERRORREASON_TEMPORARILY_UNAVAILABLE
-
The authorization server is currently unable to handle the request due to a temporary overloading or maintenance of the server.
Declared In
DCErrors.h
. DCAUTHENTICATIONERRORREASON_NO_REFRESH_TOKEN
-
Refreshing access token is failed because of DCAuthenticationContext. This error occurs when DCAuthenticationContext does not have refresh token.
Declared In
DCErrors.h
.
Declared In
DCErrors.h