Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class VirtualRoleClaimsTransformer

Inheritance
System.Object
VirtualRoleClaimsTransformer
Implements
Microsoft.AspNetCore.Authentication.IClaimsTransformation
Namespace: EPiServer.Security.Internal
Assembly: EPiServer.Framework.AspNetCore.dll
Version: 12.0.3
Syntax
public class VirtualRoleClaimsTransformer : Object, IClaimsTransformation

Constructors

VirtualRoleClaimsTransformer(Func<IVirtualRoleAuthorizationSession>, IVirtualRoleRepository)

Declaration
public VirtualRoleClaimsTransformer(Func<IVirtualRoleAuthorizationSession> authorization, IVirtualRoleRepository repository)
Parameters
Type Name Description
System.Func<IVirtualRoleAuthorizationSession> authorization
IVirtualRoleRepository repository

Methods

TransformAsync(ClaimsPrincipal)

Declaration
public Task<ClaimsPrincipal> TransformAsync(ClaimsPrincipal principal)
Parameters
Type Name Description
System.Security.Claims.ClaimsPrincipal principal
Returns
Type Description
System.Threading.Tasks.Task<System.Security.Claims.ClaimsPrincipal>

Implements

Microsoft.AspNetCore.Authentication.IClaimsTransformation

Extension Methods