IAuthenticationHandler.AuthenticateAsync 方法

定义

对当前请求进行身份验证。

public:
 System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::AuthenticateResult ^> ^ AuthenticateAsync();
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult> AuthenticateAsync ();
abstract member AuthenticateAsync : unit -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult>
Public Function AuthenticateAsync () As Task(Of AuthenticateResult)

返回

AuthenticateResult 结果。

适用于