Table of Contents

Constructor McpClientCertificateAuthenticator

Namespace
MailFathom.Infrastructure.Security.ClientCertificates
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

trustAnchorLoader TrustAnchorLoader

The loader that turns configured material into a trust anchor.

timeProvider TimeProvider

The clock every certificate's validity period is judged against.

logger ILogger<McpClientCertificateAuthenticator>

The log a refusal and an unloadable anchor are recorded in.

Exceptions

ArgumentNullException

Thrown when trustAnchorLoader or timeProvider is null.