AuthenticationHandler<TOptions>.HandleAuthenticateOnceSafeAsync AuthenticationHandler<TOptions>.HandleAuthenticateOnceSafeAsync AuthenticationHandler<TOptions>.HandleAuthenticateOnceSafeAsync Method

Definition

Used to ensure HandleAuthenticateAsync is only invoked once safely. The subsequent calls will return the same authentication result. Any exceptions will be converted into a failed authentication result containing the exception.

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

Returns

Applies to