Protocol

NSURLAuthenticationChallengeSender

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

Declaration

@protocol NSURLAuthenticationChallengeSender

Overview

The methods in the protocol are generally sent by a delegate in response to receiving a connection:didReceiveAuthenticationChallenge:: or download:didReceiveAuthenticationChallenge::. The different methods provide different ways of responding to authentication challenges.

Topics

Protocol Methods

- cancelAuthenticationChallenge:

Cancels a given authentication challenge.

Required.

- continueWithoutCredentialForAuthenticationChallenge:

Attempt to continue downloading a request without providing a credential for a given challenge.

Required.

- useCredential:forAuthenticationChallenge:

Attempt to use a given credential for a given authentication challenge.

Required.

- performDefaultHandlingForAuthenticationChallenge:

Causes the system-provided default behavior to be used.

- rejectProtectionSpaceAndContinueWithChallenge:

Rejects the currently supplied protection space.

Relationships

Inherits From

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