AuthError

public enum AuthError : CustomStringConvertible, JSONRepresentable

Errors occurred during authentication.

  • The access token is invalid.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    case invalidSelectAdmin
  • The user has been suspended.

    Declaration

    Swift

    case userSuspended
  • The access token has expired.

    Declaration

    Swift

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

    Declaration

    Swift

    case missingScope(Auth.TokenScopeError)
  • The route is not available to public.

    Declaration

    Swift

    case routeAccessDenied
  • An unspecified error.

    Declaration

    Swift

    case other
  • Declaration

    Swift

    public var description: String { get }