London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

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.4
Syntax
[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

Extension Methods