Instance Property

failureResponse

The URL response object representing the last authentication failure.

Declaration

@property(readonly, copy) NSURLResponse *failureResponse;

Discussion

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

See Also

Getting authentication challenge properties

error

The error object representing the last authentication failure.

previousFailureCount

The receiver’s count of failed authentication attempts.

proposedCredential

The proposed credential for this challenge.

protectionSpace

The receiver’s protection space.

sender

The receiver’s sender.

NSURLAuthenticationChallengeSender

The NSURLAuthenticationChallengeSender protocol represents the interface that the sender of an authentication challenge must implement.