requireClientCert property

bool requireClientCert
final

Whether to require client certificates (mutual TLS).

When true, the server requests and validates client certificates during the TLS handshake. Requires either trustedCertificatesPath or a securityContext configured with trusted CAs.

Defaults to false.

Implementation

final bool requireClientCert;