Aracılığıyla paylaş


IAuthenticationHandler.InitializeAsync Yöntem

Tanım

Kimlik doğrulama işleyicisini başlatın. İşleyici, bu yöntemin bir parçası olarak istekten ve şemadan ihtiyaç duyduğu her şeyi başlatmalıdır.

public:
 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
Public Function InitializeAsync (scheme As AuthenticationScheme, context As HttpContext) As Task

Parametreler

context
HttpContext

Bağlam HttpContext .

Döndürülenler

Şunlara uygulanır