Instance Property


The proposed credential for this challenge.


@property(readonly, copy) NSURLCredential *proposedCredential;


This method returns nil if there is no default credential for this challenge.

If you have previously attempted to authenticate and failed, this method returns the most recent failed credential.

If the proposed credential is not nil and returns YES when you call its hasPassword method, then the credential is ready to use as-is. If the proposed credential’s hasPassword method returns NO, then the credential provides a default user name, and the client must prompt the user for a corresponding password.

See Also

Getting Properties of Previous Authentication Attempts


The URL response object representing the last authentication failure.


The receiver’s count of failed authentication attempts.

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