Mtls Client Builder
object MtlsClientBuilder
Builder for OkHttpClient with mutual TLS (mTLS) support.
Configures the HTTP client to present a client certificate during TLS handshake, enabling two-way authentication where both the client and server verify each other's identity.
Usage:
val client = MtlsClientBuilder.build(
baseClient = existingClient,
mtlsConfig = MtlsConfig(provider),
)Content copied to clipboard