Instance Property


The URL response object representing the last authentication failure.


@NSCopying var failureResponse: URLResponse? { get }


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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software