Instance Method

continueWithoutCredential(for:)

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

Required.

Declaration

func continueWithoutCredential(for challenge: URLAuthenticationChallenge)

Parameters

challenge

A challenge without authentication credentials.

Discussion

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

See Also

Protocol Methods

func cancel(URLAuthenticationChallenge)

Cancels a given authentication challenge.

Required.

func use(URLCredential, for: URLAuthenticationChallenge)

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

Required.

func performDefaultHandling(for: URLAuthenticationChallenge)

Causes the system-provided default behavior to be used.

func rejectProtectionSpaceAndContinue(with: URLAuthenticationChallenge)

Rejects the currently supplied protection space.