Table of Contents

Method Authenticated

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

Authenticated(AdmittedUserCredential)

Creates a successful result naming what the request was admitted as.

public static UserApiKeyAuthenticationResult Authenticated(AdmittedUserCredential admitted)

Parameters

admitted AdmittedUserCredential

The credential that matched, the user it names, and what it grants.

Returns

UserApiKeyAuthenticationResult

The successful result.

Exceptions

ArgumentNullException

Thrown when admitted is null.