Class VirtualRoleClaimsTransformer
Inheritance
System.Object
VirtualRoleClaimsTransformer
Implements
Microsoft.AspNetCore.Authentication.IClaimsTransformation
Namespace: EPiServer.Security.Internal
Assembly: EPiServer.Framework.AspNetCore.dll
Version: 12.0.3Syntax
public class VirtualRoleClaimsTransformer : Object, IClaimsTransformation
Constructors
VirtualRoleClaimsTransformer(Func<IVirtualRoleAuthorizationSession>, IVirtualRoleRepository)
Declaration
public VirtualRoleClaimsTransformer(Func<IVirtualRoleAuthorizationSession> authorization, IVirtualRoleRepository repository)
Parameters
Type | Name | Description |
---|---|---|
System. |
authorization | |
IVirtual |
repository |
Methods
TransformAsync(ClaimsPrincipal)
Declaration
public Task<ClaimsPrincipal> TransformAsync(ClaimsPrincipal principal)
Parameters
Type | Name | Description |
---|---|---|
System. |
principal |
Returns
Type | Description |
---|---|
System. |
Implements
Microsoft.AspNetCore.Authentication.IClaimsTransformation