次の方法で共有


AuthenticationHandlerProvider.GetHandlerAsync(HttpContext, String) メソッド

定義

使用されるハンドラー インスタンスを返します。

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)

パラメーター

context
HttpContext

コンテキスト。

authenticationScheme
String

処理される認証スキームの名前。

戻り値

ハンドラー インスタンス。

実装

適用対象