Instance Property

failureResponse

The URL response object representing the last authentication failure.

Declaration

@NSCopying var failureResponse: URLResponse? { get }

Discussion

This value is nil if the protocol doesn’t use responses to indicate an authentication failure.

See Also

Getting Properties of Previous Authentication Attempts

var previousFailureCount: Int

The receiver’s count of failed authentication attempts.

var proposedCredential: URLCredential?

The proposed credential for this challenge.