Class VirtualRoleToClaimConverter
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Responsible for converting virtual roles into claims
Inheritance
System.Object
VirtualRoleToClaimConverter
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Security.Internal
Assembly: EPiServer.Framework.dll
Version: 10.10.4Syntax
[ServiceConfiguration]
public class VirtualRoleToClaimConverter
Constructors
VirtualRoleToClaimConverter(Func<IVirtualRoleAuthorizationSession>, IVirtualRoleRepository)
Declaration
public VirtualRoleToClaimConverter(Func<IVirtualRoleAuthorizationSession> authorization, IVirtualRoleRepository repository)
Parameters
Type | Name | Description |
---|---|---|
System.Func<IVirtualRoleAuthorizationSession> | authorization | |
IVirtualRoleRepository | repository |
Methods
AddClaims(IPrincipal)
Declaration
public void AddClaims(IPrincipal principal)
Parameters
Type | Name | Description |
---|---|---|
System.Security.Principal.IPrincipal | principal |