10 references to NameIdentifier
System.IdentityModel (10)
System\IdentityModel\Claims\ClaimsConversionHelper.cs (1)
168else if (StringComparer.Ordinal.Equals(claim.ClaimType, ClaimTypes.NameIdentifier) && claim.Resource is SamlNameIdentifierClaimResource)
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (3)
1139if (claim != null && claim.Type != ClaimTypes.NameIdentifier) 1427if (claim.Type == ClaimTypes.NameIdentifier) 1784Claim claim = new Claim(ClaimTypes.NameIdentifier, nameId.Value, ClaimValueTypes.String, issuer);
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (6)
437if (claim != null && claim.Type != ClaimTypes.NameIdentifier) 570if (claim.Type == ClaimTypes.NameIdentifier) 1292if (StringComparer.Ordinal.Equals(ClaimTypes.NameIdentifier, claimType) && GetClaim(subject, ClaimTypes.NameIdentifier) != null) 1354Claim nameIdentifierClaim = GetClaim(subject, ClaimTypes.NameIdentifier); 1364Claim claim = new Claim(ClaimTypes.NameIdentifier, samlSubject.Name, ClaimValueTypes.String, issuer);