---
title: NSURLAuthenticationMethodServerTrust
framework: foundation
role: symbol
role_heading: Global Variable
path: foundation/nsurlauthenticationmethodservertrust
---

# NSURLAuthenticationMethodServerTrust

Perform server trust authentication (certificate validation) for this protection space.

## Declaration

```swift
let NSURLAuthenticationMethodServerTrust: String
```

## Mentioned in

Performing manual server trust authentication

## Discussion

Discussion This authentication method can apply to any protocol, and is most commonly used for overriding SSL and TLS chain validation. To learn more, read Overriding TLS Chain Validation Correctly.

## See Also

### Session-wide authentication challenges

- [NSURLAuthenticationMethodClientCertificate](foundation/nsurlauthenticationmethodclientcertificate.md)
- [NSURLAuthenticationMethodNegotiate](foundation/nsurlauthenticationmethodnegotiate.md)
- [NSURLAuthenticationMethodNTLM](foundation/nsurlauthenticationmethodntlm.md)
