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
authenticatedKeyNameSecretNameThe name of the matching key.
Returns
- ApiKeyAuthenticationResult
The successful result.
Exceptions
- ArgumentException
Thrown when
authenticatedKeyNameis the unspecified struct default.