Instance Method

useCredential:forAuthenticationChallenge:

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

Required.

Declaration

- (void)useCredential:(NSURLCredential *)credential forAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge;

Parameters

credential

The credential to use for authentication.

challenge

The challenge for which to use credential.

Discussion

This method has no effect if it is called with an authentication challenge that has already been handled.

See Also

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.

- performDefaultHandlingForAuthenticationChallenge:

Causes the system-provided default behavior to be used.

- rejectProtectionSpaceAndContinueWithChallenge:

Rejects the currently supplied protection space.