DBOAuthErrorType

enum DBOAuthErrorType {}

Represents the possible error types that can be returned from OAuth linking.

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

    Declaration

    Objective-C

    DBAuthUnauthorizedClient

    Swift

    case DBAuthUnauthorizedClient = 0
  • The resource owner or authorization server denied the request.

    Declaration

    Objective-C

    DBAuthAccessDenied

    Swift

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

    Declaration

    Objective-C

    DBAuthUnsupportedResponseType

    Swift

    case DBAuthUnsupportedResponseType = 2
  • The requested scope is invalid, unknown, or malformed.

    Declaration

    Objective-C

    DBAuthInvalidScope

    Swift

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

    Declaration

    Objective-C

    DBAuthServerError

    Swift

    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

    DBAuthTemporarilyUnavailable

    Swift

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

    Declaration

    Objective-C

    DBAuthInconsistentState

    Swift

    case DBAuthInconsistentState = 6
  • Some other error (outside of the OAuth2 specification)

    Declaration

    Objective-C

    DBAuthUnknown

    Swift

    case DBAuthUnknown = 7