Compartir a través de


AuthenticationService.AuthenticateAsync(HttpContext, String) Método

Definición

Autentíquese para el esquema de autenticación especificado.

public:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::AuthenticateResult ^> ^ AuthenticateAsync(Microsoft::AspNetCore::Http::HttpContext ^ context, System::String ^ scheme);
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult> AuthenticateAsync (Microsoft.AspNetCore.Http.HttpContext context, string 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)

Parámetros

scheme
String

Nombre del esquema de autenticación.

Devoluciones

Resultado.

Implementaciones

Se aplica a