次の方法で共有


IAuthenticationService.AuthenticateAsync(HttpContext, String) メソッド

定義

指定した認証スキームに対して認証します。

public:
 System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::AuthenticateResult ^> ^ AuthenticateAsync(Microsoft::AspNetCore::Http::HttpContext ^ context, System::String ^ scheme);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult> AuthenticateAsync (Microsoft.AspNetCore.Http.HttpContext context, string scheme);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult> AuthenticateAsync (Microsoft.AspNetCore.Http.HttpContext context, string? scheme);
abstract member AuthenticateAsync : Microsoft.AspNetCore.Http.HttpContext * string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult>
Public Function AuthenticateAsync (context As HttpContext, scheme As String) As Task(Of AuthenticateResult)

パラメーター

scheme
String

認証スキームの名前。

戻り値

結果。

適用対象