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