AuthenticationHandler<TOptions>.AuthenticateAsync Method

Definition

Overloads

AuthenticateAsync()

Source:
AuthenticationHandler.cs
Source:
AuthenticationHandler.cs
Source:
AuthenticationHandler.cs

Authenticate the current request.

C#
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult> AuthenticateAsync ();

Returns

The AuthenticateResult result.

Implements

Applies to

ASP.NET Core 9.0 och andra versioner
Produkt Versioner
ASP.NET Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

AuthenticateAsync(AuthenticateContext)

C#
public System.Threading.Tasks.Task AuthenticateAsync (Microsoft.AspNetCore.Http.Features.Authentication.AuthenticateContext context);

Parameters

Returns

Implements

Applies to

ASP.NET Core 1.1 och ASP.NET Core 1.0
Produkt Versioner
ASP.NET Core 1.0, 1.1