Sdílet prostřednictvím


JwtBearerEvents.OnTokenValidated Vlastnost

Definice

Vyvolá se po ověření tokenu zabezpečení a vygenerování Identity ClaimsIdentity.

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

Hodnota vlastnosti

Platí pro