41 references to Properties
mscorlib (8)
system\security\claims\Claim.cs (6)
245
Properties
.Add(propertyKey, propertyValue);
476
Properties
.Add(reader.ReadString(), reader.ReadString());
557
if (
Properties
.Count > 0)
596
writer.Write(
Properties
.Count);
597
foreach (var key in
Properties
.Keys)
600
writer.Write(
Properties
[key]);
system\security\principal\windowsidentity.cs (2)
1346
claim.
Properties
.Add(claimType, "");
1353
claim.
Properties
.Add(claimType, "");
System.IdentityModel (33)
System\IdentityModel\Claims\ClaimProperties.cs (1)
8
/// Defines the keys for properties contained in <see cref="Claim.
Properties
"/>.
System\IdentityModel\Claims\ClaimsConversionHelper.cs (2)
108
newClaim.
Properties
[ClaimProperties.SamlNameIdentifierFormat] = samlNameIdentifierFormat;
109
newClaim.
Properties
[ClaimProperties.SamlNameIdentifierNameQualifier] = samlNameIdentifierNameQualifier;
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (20)
1097
if (claim.
Properties
.ContainsKey(ClaimProperties.SamlAttributeNameFormat))
1099
string nameFormat = claim.
Properties
[ClaimProperties.SamlAttributeNameFormat];
1108
if (claim.
Properties
.ContainsKey(ClaimProperties.SamlAttributeDisplayName))
1110
attribute.FriendlyName = claim.
Properties
[ClaimProperties.SamlAttributeDisplayName];
1437
if (claim.
Properties
.ContainsKey(ClaimProperties.SamlNameIdentifierFormat))
1439
nameIdentifierFormat = claim.
Properties
[ClaimProperties.SamlNameIdentifierFormat];
1442
if (claim.
Properties
.ContainsKey(ClaimProperties.SamlNameIdentifierNameQualifier))
1444
nameIdentifierNameQualifier = claim.
Properties
[ClaimProperties.SamlNameIdentifierNameQualifier];
1447
if (claim.
Properties
.ContainsKey(ClaimProperties.SamlNameIdentifierSPNameQualifier))
1449
nameIdentifierSpNameQualifier = claim.
Properties
[ClaimProperties.SamlNameIdentifierSPNameQualifier];
1452
if (claim.
Properties
.ContainsKey(ClaimProperties.SamlNameIdentifierSPProvidedId))
1454
nameIdentifierSpProviderId = claim.
Properties
[ClaimProperties.SamlNameIdentifierSPProvidedId];
1788
claim.
Properties
[ClaimProperties.SamlNameIdentifierFormat] = nameId.Format.AbsoluteUri;
1793
claim.
Properties
[ClaimProperties.SamlNameIdentifierNameQualifier] = nameId.NameQualifier;
1798
claim.
Properties
[ClaimProperties.SamlNameIdentifierSPNameQualifier] = nameId.SPNameQualifier;
1803
claim.
Properties
[ClaimProperties.SamlNameIdentifierSPProvidedId] = nameId.SPProvidedId;
1855
claim.
Properties
[ClaimProperties.SamlAttributeNameFormat] = attribute.NameFormat.AbsoluteUri;
1860
claim.
Properties
[ClaimProperties.SamlAttributeDisplayName] = attribute.FriendlyName;
1933
claim.
Properties
[ClaimProperties.SamlAttributeNameFormat] = innerAttribute.NameFormat.AbsoluteUri;
1938
claim.
Properties
[ClaimProperties.SamlAttributeDisplayName] = innerAttribute.FriendlyName;
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (6)
587
if (identityClaim.
Properties
.ContainsKey(ClaimProperties.SamlNameIdentifierFormat))
589
samlSubject.NameFormat = identityClaim.
Properties
[ClaimProperties.SamlNameIdentifierFormat];
592
if (identityClaim.
Properties
.ContainsKey(ClaimProperties.SamlNameIdentifierNameQualifier))
594
samlSubject.NameQualifier = identityClaim.
Properties
[ClaimProperties.SamlNameIdentifierNameQualifier];
1368
claim.
Properties
[ClaimProperties.SamlNameIdentifierFormat] = samlSubject.NameFormat;
1373
claim.
Properties
[ClaimProperties.SamlNameIdentifierNameQualifier] = samlSubject.NameQualifier;
System\IdentityModel\Tokens\SessionSecurityToken.cs (4)
1122
ReadClaimProperties(dictionaryReader, dictionary, claim.
Properties
);
1446
if (claim.
Properties
!= null && claim.
Properties
.Count > 0)
1448
WriteClaimProperties(dictionaryWriter, dictionary, claim.
Properties
);