2 instantiations of SamlNameIdentifierClaimResource
System.IdentityModel (2)
System\IdentityModel\Tokens\SamlSubject.cs (2)
211
this.claims.Add(new Claim(ClaimTypes.NameIdentifier, new
SamlNameIdentifierClaimResource
(this.name, this.nameQualifier, this.nameFormat), Rights.Identity));
212
this.claims.Add(new Claim(ClaimTypes.NameIdentifier, new
SamlNameIdentifierClaimResource
(this.name, this.nameQualifier, this.nameFormat), Rights.PossessProperty));
9 references to SamlNameIdentifierClaimResource
System.IdentityModel (9)
System\IdentityModel\Claims\ClaimsConversionHelper.cs (6)
168
else if (StringComparer.Ordinal.Equals(claim.ClaimType, ClaimTypes.NameIdentifier) && claim.Resource is
SamlNameIdentifierClaimResource
)
171
_value = ((
SamlNameIdentifierClaimResource
)claim.Resource).Name;
173
if (((
SamlNameIdentifierClaimResource
)claim.Resource).Format != null)
176
samlNameIdentifierFormat = ((
SamlNameIdentifierClaimResource
)claim.Resource).Format;
178
if (((
SamlNameIdentifierClaimResource
)claim.Resource).NameQualifier != null)
180
samlNameIdentifierNameQualifier = ((
SamlNameIdentifierClaimResource
)claim.Resource).NameQualifier;
System\IdentityModel\Tokens\SamlAssertion.cs (1)
705
knownClaimTypes.Add(typeof(
SamlNameIdentifierClaimResource
));
System\IdentityModel\Tokens\SamlNameIdentifierClaimResource.cs (2)
72
SamlNameIdentifierClaimResource
rhs = obj as
SamlNameIdentifierClaimResource
;