AuthenticationError

public enum AuthenticationError : Error

Represents various authentication failures that occur when using the AuthenticationInterceptor. All errors are still vended from Alamofire as AFError types. The AuthenticationError instances will be embedded within AFError .requestAdaptationFailed or .requestRetryFailed cases.

  • The credential was missing so the request could not be authenticated.

    Declaration

    Swift

    case missingCredential
  • The credential was refreshed too many times within the RefreshWindow.

    Declaration

    Swift

    case excessiveRefresh