// 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; using System.Threading.Tasks; namespace Microsoft.AspNetCore.Authentication { /// /// Used for claims transformation. /// public interface IClaimsTransformer { /// /// Provides a central transformation point to change the specified principal. /// /// containing principal to transform and current HttpContext. /// The transformed principal. Task TransformAsync(ClaimsTransformationContext context); } }