Condividi tramite


OpenIdConnectEvents.OnAuthenticationFailed Proprietà

Definizione

Richiamato se vengono generate eccezioni durante l'elaborazione della richiesta. Dopo questo evento le eccezioni verranno generate di nuovo, se non viene eliminato.

public:
 property Func<Microsoft::AspNetCore::Authentication::OpenIdConnect::AuthenticationFailedContext ^, System::Threading::Tasks::Task ^> ^ OnAuthenticationFailed { Func<Microsoft::AspNetCore::Authentication::OpenIdConnect::AuthenticationFailedContext ^, System::Threading::Tasks::Task ^> ^ get(); void set(Func<Microsoft::AspNetCore::Authentication::OpenIdConnect::AuthenticationFailedContext ^, System::Threading::Tasks::Task ^> ^ value); };
public Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.AuthenticationFailedContext,System.Threading.Tasks.Task> OnAuthenticationFailed { get; set; }
member this.OnAuthenticationFailed : Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.AuthenticationFailedContext, System.Threading.Tasks.Task> with get, set
Public Property OnAuthenticationFailed As Func(Of AuthenticationFailedContext, Task)

Valore della proprietà

Si applica a