TokenGetAuthenticatedAdminError

public enum TokenGetAuthenticatedAdminError : CustomStringConvertible, JSONRepresentable

Error returned by tokenGetAuthenticatedAdmin.

  • The current token is not associated with a team admin, because mappings were not recorded when the token was created. Consider re-authorizing a new access token to record its authenticating admin.

    Declaration

    Swift

    case mappingNotFound
  • Either the team admin that authorized this token is no longer an active member of the team or no longer a team admin.

    Declaration

    Swift

    case adminNotActive
  • An unspecified error.

    Declaration

    Swift

    case other
  • Declaration

    Swift

    public var description: String { get }