Instance Method

connection:didCancelAuthenticationChallenge:

Sent when a connection cancels an authentication challenge.

Declaration

- (void)connection:(NSURLConnection *)connection didCancelAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge;

Parameters

connection

The connection sending the message.

challenge

The challenge that was canceled.

See Also

Connection Authentication

- connection:willSendRequestForAuthenticationChallenge:

Tells the delegate that the connection will send a request for an authentication challenge.

- connection:canAuthenticateAgainstProtectionSpace:

Sent to determine whether the delegate is able to respond to a protection space’s form of authentication.

Deprecated
- connection:didReceiveAuthenticationChallenge:

Sent when a connection must authenticate a challenge in order to download its request.

Deprecated
- connectionShouldUseCredentialStorage:

Sent to determine whether the URL loader should use the credential storage for authenticating the connection.

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