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