IClaimsTransformer Interface¶
Used for claims transformation.
- Namespace
Microsoft.AspNetCore.Authentication
- Assemblies
- Microsoft.AspNetCore.Authentication
Syntax¶
public interface IClaimsTransformer
-
interface
Microsoft.AspNetCore.Authentication.
IClaimsTransformer
Methods¶
-
TransformAsync
(Microsoft.AspNetCore.Authentication.ClaimsTransformationContext)¶ Provides a central transformation point to change the specified principal.
Arguments: context (Microsoft.AspNetCore.Authentication.ClaimsTransformationContext) – Microsoft.AspNetCore.Authentication.ClaimsTransformationContext
containing principal to transform and current HttpContext.Return type: System.Threading.Tasks.Task<System.Security.Claims.ClaimsPrincipal> Returns: The transformed principal. Task<ClaimsPrincipal> TransformAsync(ClaimsTransformationContext context)
-