Instance Method

rejectProtectionSpaceAndContinue(with:)

Rejects the currently supplied protection space.

Declaration

optional func rejectProtectionSpaceAndContinue(with challenge: URLAuthenticationChallenge)

Parameters

challenge

The challenge that should be rejected.

See Also

Protocol Methods

func cancel(URLAuthenticationChallenge)

Cancels a given authentication challenge.

Required.

func continueWithoutCredential(for: URLAuthenticationChallenge)

Attempt to continue downloading a request without providing a credential for a given 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.