Enumeration

URLSession.AuthChallengeDisposition

Constants passed by session or task delegates to the provided continuation block in response to an authentication challenge.

Topics

Constants

case useCredential

Use the specified credential, which may be nil.

case performDefaultHandling

Use the default handling for the challenge as though this delegate method were not implemented. The provided credential parameter is ignored.

case cancelAuthenticationChallenge

Cancel the entire request. The provided credential parameter is ignored.

case rejectProtectionSpace

Reject this challenge, and call the authentication delegate method again with the next authentication protection space. The provided credential parameter is ignored.