Compartir a través de


IISServerAuthenticationHandler.InitializeAsync Método

Definición

Inicialice el controlador de autenticación. El controlador debe inicializar todo lo que necesite de la solicitud y el esquema como parte de este método.

public:
 virtual System::Threading::Tasks::Task ^ InitializeAsync(Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Http::HttpContext ^ context);
public System.Threading.Tasks.Task InitializeAsync (Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Http.HttpContext context);
abstract member InitializeAsync : Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Http.HttpContext -> System.Threading.Tasks.Task
override this.InitializeAsync : Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Http.HttpContext -> System.Threading.Tasks.Task
Public Function InitializeAsync (scheme As AuthenticationScheme, context As HttpContext) As Task

Parámetros

context
HttpContext

Contexto HttpContext para la solicitud actual.

Devoluciones

Implementaciones

Se aplica a