# TlsOptions.OnAuthenticateAsServer

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.connections.security/orleans.connections.security.tlsoptions/) | [Properties](/orleans/docs/api/csharp/microsoft.orleans.connections.security/orleans.connections.security.tlsoptions/properties/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Connections.Security/Security/TlsOptions.cs)

```csharp
public Action<ConnectionContext, TlsServerAuthenticationOptions> OnAuthenticateAsServer
```

Provides direct configuration of the [TlsServerAuthenticationOptions](/orleans/docs/api/csharp/microsoft.orleans.connections.security/orleans.connections.security.tlsserverauthenticationoptions/) on a per-connection basis. This is called after all of the other settings have already been applied.
