Dela via


AuthenticationHandler<TOptions>.HandleAuthenticateOnceAsync Method

Definition

Used to ensure HandleAuthenticateAsync is only invoked once. The subsequent calls will return the same authenticate result.

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)

Returns

Applies to