Constructor McpClientCertificateAuthenticator
- Assembly
- MailFathom.Infrastructure.dll
McpClientCertificateAuthenticator(TrustAnchorLoader, TimeProvider, ILogger<McpClientCertificateAuthenticator>)
Initializes a new client certificate authenticator.
public McpClientCertificateAuthenticator(TrustAnchorLoader trustAnchorLoader, TimeProvider timeProvider, ILogger<McpClientCertificateAuthenticator> logger)
Parameters
trustAnchorLoaderTrustAnchorLoaderThe loader that turns configured material into a trust anchor.
timeProviderTimeProviderThe clock every certificate's validity period is judged against.
loggerILogger<McpClientCertificateAuthenticator>The log a refusal and an unloadable anchor are recorded in.
Exceptions
- ArgumentNullException
Thrown when
trustAnchorLoaderortimeProvideris null.