AuthenticationHandler<TOptions>.HandleAuthenticateOnceSafeAsync Metoda

Definicja

Służy do zapewnienia, że protokół HandleAuthenticateAsync jest wywoływany tylko raz bezpiecznie. Kolejne wywołania zwracają ten sam wynik uwierzytelniania. Wszystkie wyjątki zostaną przekonwertowane na wynik uwierzytelniania, który zakończył się niepowodzeniem zawierający wyjątek.

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)

Zwraca

Dotyczy