DBAUTHAuthErrorTag

Objective-C

enum DBAUTHAuthErrorTag : NSInteger {}

Swift

@frozen enum DBAUTHAuthErrorTag : Int, @unchecked Sendable

The DBAUTHAuthErrorTag enum type represents the possible tag states with which the DBAUTHAuthError union can exist.

  • The access token is invalid.

    Declaration

    Objective-C

    DBAUTHAuthErrorInvalidAccessToken

    Swift

    case invalidAccessToken = 0
  • The user specified in ‘Dropbox-API-Select-User’ is no longer on the team.

    Declaration

    Objective-C

    DBAUTHAuthErrorInvalidSelectUser

    Swift

    case invalidSelectUser = 1
  • The user specified in ‘Dropbox-API-Select-Admin’ is not a Dropbox Business team admin.

    Declaration

    Objective-C

    DBAUTHAuthErrorInvalidSelectAdmin

    Swift

    case invalidSelectAdmin = 2
  • The user has been suspended.

    Declaration

    Objective-C

    DBAUTHAuthErrorUserSuspended

    Swift

    case userSuspended = 3
  • The access token has expired.

    Declaration

    Objective-C

    DBAUTHAuthErrorExpiredAccessToken

    Swift

    case expiredAccessToken = 4
  • The access token does not have the required scope to access the route.

    Declaration

    Objective-C

    DBAUTHAuthErrorMissingScope

    Swift

    case missingScope = 5
  • The route is not available to public.

    Declaration

    Objective-C

    DBAUTHAuthErrorRouteAccessDenied

    Swift

    case routeAccessDenied = 6
  • (no description).

    Declaration

    Objective-C

    DBAUTHAuthErrorOther

    Swift

    case other = 7