SecurityStampValidatorOptions.OnRefreshingPrincipal 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當預設安全性戳記驗證程式取代 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)