28 references to ClaimProperties
System.IdentityModel (28)
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;