Class OrganisationClaim
Represents a claim that an organisation possesses.
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 OrganisationClaim
Properties
ClaimType
Gets or sets the type of claim.
Declaration
public virtual string ClaimType { get; set; }
Property Value
String
|
ClaimValue
Gets or sets the value of the claim.
Declaration
public virtual string ClaimValue { get; set; }
Property Value
String
|
Id
Gets or sets the identifier for this organisation claim.
Declaration
public int Id { get; set; }
Property Value
System.Int32
|
OrganisationId
Gets or sets the unique identity of the organisation that this claim belongs to.
Declaration
public Guid OrganisationId { get; set; }
Property Value
System.Guid
|
Methods
InitializeFromClaim(Claim)
Reads the type and value from the Claim.
Declaration
public virtual void InitializeFromClaim(Claim claim)
Parameters
System.Security.Claims.Claim
claim
The claim to read from. |
ToClaim()
Converts the entity into a System.Security.Claims.Claim instance.
Declaration
public virtual Claim ToClaim()
Returns
System.Security.Claims.Claim
|