Method AcceptedByProfile
- Assembly
- MailFathom.Infrastructure.dll
AcceptedByProfile(string)
Creates a successful result naming the profile the certificate matched.
public static McpClientCertificateAuthenticationResult AcceptedByProfile(string matchedProfileName)
Parameters
matchedProfileNamestringThe name of the matching profile.
Returns
- McpClientCertificateAuthenticationResult
The successful result.
Exceptions
- ArgumentException
Thrown when
matchedProfileNamenames no profile.