Protocol

URLAuthenticationChallengeSender

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

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.

Symbols

Protocol Methods

func cancel(URLAuthenticationChallenge)
Required.

Cancels a given authentication challenge.

func continueWithoutCredential(for: URLAuthenticationChallenge)
Required.

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

func use(URLCredential, for: URLAuthenticationChallenge)
Required.

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

func performDefaultHandling(for: URLAuthenticationChallenge)

Causes the system-provided default behavior to be used.

func rejectProtectionSpaceAndContinue(with: URLAuthenticationChallenge)

Rejects the currently supplied protection space.

Relationships

Inherits From