Claim Type
The claim.
Remarks
This type describes the claim.
Fields
IssuerName String |
The name of the issuer. This may be a URL like "http://adfs.contoso.com/adfs/services/trust". |
OriginalIssuer String |
The name of the original issuer. This may be a URL like "http://adfs.contoso.com/adfs/services/trust". |
PropertyCount Integer |
The number of properties in the claim. |
PropertyIndex Integer |
Selects a property. This is valid from 0 to PropertyCount.
To inspect a property, first set this field and then inspect PropertyName and PropertyValue.
For instance:
for(int i=0;i<component.Claims[0].PropertyCount;i++) { component.Claims[0].PropertyIndex = i; Console.WriteLine(component.Claims[0].PropertyName + ": " + component.Claims[0].PropertyValue); } |
PropertyName String |
The name of the property. |
PropertyValue String |
The value of the property. |
TypeName String |
The type name of the claim. This may be a value like "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier". |
Value String |
The value of the claim. |
ValueType String |
The type of value. This may be a value like "http://www.w3.org/2001/XMLSchema#string". |
Constructors
[VB.NET] Public Claim() [C#] public Claim();
[VB.NET] Public Claim(ByVal TypeName As String, ByVal Value As String, ByVal ValueType As String, ByVal IssuerName As String, ByVal OriginalIssuer As String) [C#] public Claim(string typeName, string value, string valueType, string issuerName, string originalIssuer);