---
title: URLSession.AuthChallengeDisposition.cancelAuthenticationChallenge
framework: foundation
role: symbol
role_heading: Case
path: foundation/urlsession/authchallengedisposition/cancelauthenticationchallenge
---

# URLSession.AuthChallengeDisposition.cancelAuthenticationChallenge

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

## Declaration

```swift
case cancelAuthenticationChallenge
```

## Mentioned in

Performing manual server trust authentication

## See Also

### Constants

- [URLSession.AuthChallengeDisposition.useCredential](foundation/urlsession/authchallengedisposition/usecredential.md)
- [URLSession.AuthChallengeDisposition.performDefaultHandling](foundation/urlsession/authchallengedisposition/performdefaulthandling.md)
- [URLSession.AuthChallengeDisposition.rejectProtectionSpace](foundation/urlsession/authchallengedisposition/rejectprotectionspace.md)
