AuthenticationHandler<TOptions>.HandleAuthenticateOnceAsync 方法

定义

用于确保 HandleAuthenticateAsync 仅调用一次。 后续调用将返回相同的身份验证结果。

protected:
 System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::AuthenticateResult ^> ^ HandleAuthenticateOnceAsync();
protected System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult> HandleAuthenticateOnceAsync ();
member this.HandleAuthenticateOnceAsync : unit -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult>
Protected Function HandleAuthenticateOnceAsync () As Task(Of AuthenticateResult)

返回

适用于