Instance Property


The receiver’s count of failed authentication attempts.


var previousFailureCount: Int { get }


The previous failure count includes failures from all protection spaces, not just the current one.

See Also

Getting Properties of Previous Authentication Attempts

var failureResponse: URLResponse?

The URL response object representing the last authentication failure.

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