Dela via


OpenIdConnectEvents.OnTokenValidated Property

Definition

Invoked when an IdToken has been validated and produced an AuthenticationTicket. Note there are additional checks after this event that validate other aspects of the authentication flow like the nonce.

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

Property Value

Applies to