Sdílet prostřednictvím


AuthenticationHandlerProvider.GetHandlerAsync(HttpContext, String) Metoda

Definice

Vrátí instanci obslužné rutiny, která bude použita.

public:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::IAuthenticationHandler ^> ^ GetHandlerAsync(Microsoft::AspNetCore::Http::HttpContext ^ context, System::String ^ authenticationScheme);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.IAuthenticationHandler> GetHandlerAsync (Microsoft.AspNetCore.Http.HttpContext context, string authenticationScheme);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.IAuthenticationHandler?> GetHandlerAsync (Microsoft.AspNetCore.Http.HttpContext context, string authenticationScheme);
abstract member GetHandlerAsync : Microsoft.AspNetCore.Http.HttpContext * string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.IAuthenticationHandler>
override this.GetHandlerAsync : Microsoft.AspNetCore.Http.HttpContext * string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.IAuthenticationHandler>
Public Function GetHandlerAsync (context As HttpContext, authenticationScheme As String) As Task(Of IAuthenticationHandler)

Parametry

context
HttpContext

Kontext

authenticationScheme
String

Název schématu ověřování, které se zpracovává.

Návraty

Instance obslužné rutiny.

Implementuje

Platí pro