AuthenticationHttpContextExtensions.AuthenticateAsync AuthenticationHttpContextExtensions.AuthenticateAsync AuthenticationHttpContextExtensions.AuthenticateAsync AuthenticationHttpContextExtensions.AuthenticateAsync Method

Definition

Overloads

AuthenticateAsync(HttpContext) AuthenticateAsync(HttpContext) AuthenticateAsync(HttpContext) AuthenticateAsync(HttpContext)

Extension method for authenticate using the DefaultAuthenticateScheme scheme.

AuthenticateAsync(HttpContext, String) AuthenticateAsync(HttpContext, String) AuthenticateAsync(HttpContext, String) AuthenticateAsync(HttpContext, String)

Extension method for authenticate.

AuthenticateAsync(HttpContext) AuthenticateAsync(HttpContext) AuthenticateAsync(HttpContext) AuthenticateAsync(HttpContext)

Extension method for authenticate using the DefaultAuthenticateScheme scheme.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::AuthenticateResult ^> ^ AuthenticateAsync(Microsoft::AspNetCore::Http::HttpContext ^ context);
public static System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult> AuthenticateAsync (this Microsoft.AspNetCore.Http.HttpContext context);
static member AuthenticateAsync : Microsoft.AspNetCore.Http.HttpContext -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult>
<Extension()>
Public Function AuthenticateAsync (context As HttpContext) As Task(Of AuthenticateResult)

Parameters

Returns

AuthenticateAsync(HttpContext, String) AuthenticateAsync(HttpContext, String) AuthenticateAsync(HttpContext, String) AuthenticateAsync(HttpContext, String)

Extension method for authenticate.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::AuthenticateResult ^> ^ AuthenticateAsync(Microsoft::AspNetCore::Http::HttpContext ^ context, System::String ^ scheme);
public static System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult> AuthenticateAsync (this Microsoft.AspNetCore.Http.HttpContext context, string scheme);
static member AuthenticateAsync : Microsoft.AspNetCore.Http.HttpContext * string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult>
<Extension()>
Public Function AuthenticateAsync (context As HttpContext, scheme As String) As Task(Of AuthenticateResult)

Parameters

scheme
String String String String

The name of the authentication scheme.

Returns

Applies to