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)

属性值

适用于