---
title: TLS.PeerAuthentication.optional
framework: network
role: symbol
role_heading: Case
path: network/tls/peerauthentication/optional
---

# TLS.PeerAuthentication.optional

Requests the peer certificate, but if none is provided, proceed with the connection.

## Declaration

```swift
case optional
```

## Discussion

Discussion This is for servers. Clients will ignore this option.
