Share via


AuthenticationHandler<TOptions>.HandleAuthenticateOnceSafeAsync Método

Definición

Se usa para asegurarse de que HandleAuthenticateAsync solo se invoca una vez de forma segura. Las llamadas posteriores devolverán el mismo resultado de autenticación. Todas las excepciones se convertirán en un resultado de autenticación con errores que contenga la excepción.

protected:
 System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::AuthenticateResult ^> ^ HandleAuthenticateOnceSafeAsync();
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)

Devoluciones

Se aplica a