Enumeration

NSURLSessionAuthChallengeDisposition

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

Declaration

typedef enum NSURLSessionAuthChallengeDisposition : NSInteger {
    ...
} NSURLSessionAuthChallengeDisposition;

Topics

Constants

NSURLSessionAuthChallengeUseCredential

Use the specified credential, which may be nil.

NSURLSessionAuthChallengePerformDefaultHandling

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

NSURLSessionAuthChallengeCancelAuthenticationChallenge

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

NSURLSessionAuthChallengeRejectProtectionSpace

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

- URLSession:task:didReceiveChallenge:completionHandler:

Requests credentials from the delegate in response to an authentication request from the remote server.