---
title: NSURLAuthenticationMethodDefault
framework: foundation
role: symbol
role_heading: Global Variable
path: foundation/nsurlauthenticationmethoddefault
---

# NSURLAuthenticationMethodDefault

Use the default authentication method for a protocol.

## Declaration

```swift
let NSURLAuthenticationMethodDefault: String
```

## See Also

### Task-specific authentication challenges

- [NSURLAuthenticationMethodHTMLForm](foundation/nsurlauthenticationmethodhtmlform.md)
- [NSURLAuthenticationMethodHTTPBasic](foundation/nsurlauthenticationmethodhttpbasic.md)
- [NSURLAuthenticationMethodHTTPDigest](foundation/nsurlauthenticationmethodhttpdigest.md)
