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

# URLSession.AuthChallengeDisposition.useCredential

Use the specified credential, which may be nil.

## Declaration

```swift
case useCredential
```

## Mentioned in

Performing manual server trust authentication

## See Also

### Constants

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