Table of Contents

Method Authenticated

Namespace
MailFathom.Infrastructure.Security.ApiKeys
Assembly
MailFathom.Infrastructure.dll

Authenticated(SecretName)

Creates a successful result naming the key that matched.

public static ApiKeyAuthenticationResult Authenticated(SecretName authenticatedKeyName)

Parameters

authenticatedKeyName SecretName

The name of the matching key.

Returns

ApiKeyAuthenticationResult

The successful result.

Exceptions

ArgumentException

Thrown when authenticatedKeyName is the unspecified struct default.