Table of Contents

Method AcceptedByProfile

Namespace
MailFathom.Infrastructure.Security.ClientCertificates
Assembly
MailFathom.Infrastructure.dll

AcceptedByProfile(string)

Creates a successful result naming the profile the certificate matched.

public static McpClientCertificateAuthenticationResult AcceptedByProfile(string matchedProfileName)

Parameters

matchedProfileName string

The name of the matching profile.

Returns

McpClientCertificateAuthenticationResult

The successful result.

Exceptions

ArgumentException

Thrown when matchedProfileName names no profile.