Interface IAuthentication

Namespace
Cratis.Arc.Authentication
Assembly
Cratis.Arc.Core.dll

Defines the authentication service.

public interface IAuthentication
Extension Methods

Properties

HasHandlers

Gets a value indicating whether there are any authentication handlers configured.

bool HasHandlers { get; }

Property Value

bool

Methods

HandleAuthentication(IHttpRequestContext)

Handles authentication for the given HTTP request context.

Task<AuthenticationResult> HandleAuthentication(IHttpRequestContext context)

Parameters

context IHttpRequestContext

The HTTP request context.

Returns

Task<AuthenticationResult>

The result of the authentication attempt.