Back to Alamofire

AuthenticationError

docs/Enums/AuthenticationError.html

5.12.0751 B
Original Source

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.

`

                missingCredential
                `

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

Declaration

Swift

case missingCredential

`

                excessiveRefresh
                `

The credential was refreshed too many times within the RefreshWindow.

Declaration

Swift

case excessiveRefresh