Aracılığıyla paylaş


IISServerAuthenticationHandler.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:
 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

Parametreler

context
HttpContext

Geçerli isteğin HttpContext bağlamı.

Döndürülenler

Uygulamalar

Şunlara uygulanır