---
title: "performDefaultHandling(for:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/urlauthenticationchallengesender/performdefaulthandling(for:)"
---

# performDefaultHandling(for:)

Causes the system-provided default behavior to be used.

## Declaration

```swift
optional func performDefaultHandling(for challenge: URLAuthenticationChallenge)
```

## Parameters

- `challenge`: The challenge for which the default behavior should be used.

## See Also

### Protocol Methods

- [cancel(_:)](foundation/urlauthenticationchallengesender/cancel(_:).md)
- [continueWithoutCredential(for:)](foundation/urlauthenticationchallengesender/continuewithoutcredential(for:).md)
- [use(_:for:)](foundation/urlauthenticationchallengesender/use(_:for:).md)
- [rejectProtectionSpaceAndContinue(with:)](foundation/urlauthenticationchallengesender/rejectprotectionspaceandcontinue(with:).md)
