Class RoleClaimTemplate
Represents a template for a role claim in the permission system.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public class RoleClaimTemplate
Properties
ClaimType
Gets or sets the claim type for this claim.
Declaration
public virtual string ClaimType { get; set; }
Property Value
String
|
ClaimValue
Gets or sets the claim value for this claim.
Declaration
public virtual string ClaimValue { get; set; }
Property Value
String
|
Id
Gets or sets the identifier for this role claim template.
Declaration
public virtual int Id { get; set; }
Property Value
System.Int32
|
RoleTemplateId
Gets or sets the primary key of the role template associated with this claim template.
Declaration
public Guid RoleTemplateId { get; set; }
Property Value
System.Guid
|
Methods
ToClaim()
Constructs a new claim with the type and value.
Declaration
public virtual Claim ToClaim()
Returns
System.Security.Claims.Claim
|