共用方式為


CookieAuthenticationEvents.OnValidatePrincipal 屬性

定義

叫用以驗證主體。

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)

屬性值

適用於