Instance Property

proposedCredential

The proposed credential for this challenge.

Declaration

@property(readonly, copy) NSURLCredential *proposedCredential;

Discussion

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

failureResponse

The URL response object representing the last authentication failure.

previousFailureCount

The receiver’s count of failed authentication attempts.