SecurityStampValidatorOptions.OnRefreshingPrincipal 属性

定义

当默认安全标记验证程序替换 Cookie 中的用户的 ClaimsPrincipal 时调用。

public:
 property Func<Microsoft::AspNetCore::Identity::SecurityStampRefreshingPrincipalContext ^, System::Threading::Tasks::Task ^> ^ OnRefreshingPrincipal { Func<Microsoft::AspNetCore::Identity::SecurityStampRefreshingPrincipalContext ^, System::Threading::Tasks::Task ^> ^ get(); void set(Func<Microsoft::AspNetCore::Identity::SecurityStampRefreshingPrincipalContext ^, System::Threading::Tasks::Task ^> ^ value); };
public Func<Microsoft.AspNetCore.Identity.SecurityStampRefreshingPrincipalContext,System.Threading.Tasks.Task> OnRefreshingPrincipal { get; set; }
public Func<Microsoft.AspNetCore.Identity.SecurityStampRefreshingPrincipalContext,System.Threading.Tasks.Task>? OnRefreshingPrincipal { get; set; }
member this.OnRefreshingPrincipal : Func<Microsoft.AspNetCore.Identity.SecurityStampRefreshingPrincipalContext, System.Threading.Tasks.Task> with get, set
Public Property OnRefreshingPrincipal As Func(Of SecurityStampRefreshingPrincipalContext, Task)

属性值

适用于