AuthenticationService.AuthenticateAsync(HttpContext, String) AuthenticationService.AuthenticateAsync(HttpContext, String) AuthenticationService.AuthenticateAsync(HttpContext, String) Method

Definition

Authenticate for the specified authentication scheme.

public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult> AuthenticateAsync (Microsoft.AspNetCore.Http.HttpContext context, string scheme);
abstract member AuthenticateAsync : Microsoft.AspNetCore.Http.HttpContext * string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult>
override this.AuthenticateAsync : Microsoft.AspNetCore.Http.HttpContext * string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult>
Public Overridable Function AuthenticateAsync (context As HttpContext, scheme As String) As Task(Of AuthenticateResult)

Parameters

scheme
String String String

The name of the authentication scheme.

Returns

The result.

Implements

Applies to