Compartilhar via


SecurityStampValidatorOptions.OnRefreshingPrincipal Propriedade

Definição

Invocado quando o validador de selo de segurança padrão substitui o ClaimsPrincipal do usuário no cookie.

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)

Valor da propriedade

Aplica-se a