---
title: NSURLAuthenticationMethodHTMLForm
framework: foundation
role: symbol
role_heading: Global Variable
path: foundation/nsurlauthenticationmethodhtmlform
---

# NSURLAuthenticationMethodHTMLForm

Use HTML form authentication for this protection space.

## Declaration

```swift
let NSURLAuthenticationMethodHTMLForm: String
```

## Discussion

Discussion The URL loading system never issues authentication challenges based on this authentication method. However, if your app authenticates by submitting a web form (or in some other protocol-neutral way), you can specify this protection space when you persist or look up credentials using the URLCredentialStorage class.

## See Also

### Task-specific authentication challenges

- [NSURLAuthenticationMethodDefault](foundation/nsurlauthenticationmethoddefault.md)
- [NSURLAuthenticationMethodHTTPBasic](foundation/nsurlauthenticationmethodhttpbasic.md)
- [NSURLAuthenticationMethodHTTPDigest](foundation/nsurlauthenticationmethodhttpdigest.md)
