// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Security.Claims; namespace Microsoft.AspNetCore.Identity { /// /// Used to pass information during the SecurityStamp validation event. /// public class SecurityStampRefreshingPrincipalContext { /// /// The principal contained in the current cookie. /// public ClaimsPrincipal CurrentPrincipal { get; set; } /// /// The new principal which should replace the current. /// public ClaimsPrincipal NewPrincipal { get; set; } } }