iOS Developer Library

Developer

Foundation Framework Reference NSURLAuthenticationChallengeSender Protocol Reference

Options
Deployment Target:

On This Page
Language:

NSURLAuthenticationChallengeSender

Inheritance


Not Applicable

Import Statement


Swift

import Foundation

Objective-C

@import Foundation;

Availability


Available in iOS 2.0 and later.

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

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.