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


enum AuthChallengeDisposition : Int



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.

See Also

Handling Authentication Challenges

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software