Dela via


CookieAuthenticationEvents.OnValidatePrincipal Property

Definition

Invoked to validate the principal.

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

Property Value

Applies to