November Happy Hour will be moved to Thursday December 5th.

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