Class ClaimDto
A serializable representation of a claim: its type and its value.
public class ClaimDto
- Inheritance
-
ClaimDto
- Inherited Members
Constructors
ClaimDto()
Initializes a new instance of the ClaimDto class with an empty type and value.
public ClaimDto()
ClaimDto(string, string)
Initializes a new instance of the ClaimDto class.
public ClaimDto(string type, string value)
Parameters
Properties
ClaimType
Gets or sets the claim type.
public string ClaimType { get; set; }
Property Value
Value
Gets or sets the claim value.
public string Value { get; set; }
Property Value
Methods
ToString()
Returns the claim as type : value.
public override string ToString()
Returns
- string
The string representation of the claim.