mtls library

Classes

MtlsConfig
Configuration for mtlsHttpClient.

Functions

mtlsHttpClient(MtlsConfig config) → Client
Builds an http.Client that presents the certificate from config during the TLS handshake. The token endpoint identifies the client from the cert; no HTTP-layer credentials are sent.