DBOAuthErrorType
Objective-C
enum DBOAuthErrorType : NSInteger {}
                Swift
enum DBOAuthErrorType : Int, @unchecked Sendable
                Represents the possible error types that can be returned from OAuth linking. Includes errors from both Implicit Grant (See RFC6749 4.2.2.1) and Extension Grants (See RFC6749 5.2), and a couple of SDK defined errors outside of OAuth2 specification.
- 
                  
                  
The client is not authorized to request an access token using this method.
Declaration
Objective-C
DBAuthUnauthorizedClientSwift
case DBAuthUnauthorizedClient = 0 - 
                  
                  
The resource owner or authorization server denied the request.
Declaration
Objective-C
DBAuthAccessDeniedSwift
case DBAuthAccessDenied = 1 - 
                  
                  
The authorization server does not support obtaining an access token using this method.
Declaration
Objective-C
DBAuthUnsupportedResponseTypeSwift
case DBAuthUnsupportedResponseType = 2 - 
                  
                  
The requested scope is invalid, unknown, or malformed.
Declaration
Objective-C
DBAuthInvalidScopeSwift
case DBAuthInvalidScope = 3 - 
                  
                  
The authorization server encountered an unexpected condition that prevented it from fulfilling the request.
Declaration
Objective-C
DBAuthServerErrorSwift
case DBAuthServerError = 4 - 
                  
                  
The authorization server is currently unable to handle the request due to a temporary overloading or maintenance of the server.
Declaration
Objective-C
DBAuthTemporarilyUnavailableSwift
case DBAuthTemporarilyUnavailable = 5 - 
                  
                  
The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed.
Declaration
Objective-C
DBAuthInvalidRequestSwift
case DBAuthInvalidRequest = 6 - 
                  
                  
Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method).
Declaration
Objective-C
DBAuthInvalidClientSwift
case DBAuthInvalidClient = 7 - 
                  
                  
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.
Declaration
Objective-C
DBAuthInvalidGrantSwift
case DBAuthInvalidGrant = 8 - 
                  
                  
The authorization grant type is not supported by the authorization server.
Declaration
Objective-C
DBAuthUnsupportedGrantTypeSwift
case DBAuthUnsupportedGrantType = 9 - 
                  
                  
The state param received from the authorization server does not match the state param stored by the SDK.
Declaration
Objective-C
DBAuthInconsistentStateSwift
case DBAuthInconsistentState = 10 - 
                  
                  
Some other error (outside of the OAuth2 specification)
Declaration
Objective-C
DBAuthUnknownSwift
case DBAuthUnknown = 11 
View on GitHub
        DBOAuthErrorType Enumeration Reference