20 references to Claim
System.IdentityModel (19)
System\IdentityModel\Tokens\RsaSecurityTokenHandler.cs (1)
169
ClaimsIdentity identity = new ClaimsIdentity(new Claim[] { new
Claim
(ClaimTypes.Rsa, rsaToken.Rsa.ToXmlString(false), ClaimValueTypes.RsaKeyValue, ClaimsIdentity.DefaultIssuer) }, AuthenticationTypes.Signature);
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (4)
1784
Claim claim = new
Claim
(ClaimTypes.NameIdentifier, nameId.Value, ClaimValueTypes.String, issuer);
1924
claim = new
Claim
(innerAttribute.Name, innerAttribute.Values[k], innerAttribute.AttributeValueXsiType, issuer);
1978
new
Claim
(
1985
subject.AddClaim(new
Claim
(ClaimTypes.AuthenticationInstant, XmlConvert.ToString(statement.AuthenticationInstant.ToUniversalTime(), DateTimeFormats.Generated), ClaimValueTypes.DateTime, issuer));
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (4)
1364
Claim claim = new
Claim
(ClaimTypes.NameIdentifier, samlSubject.Name, ClaimValueTypes.String, issuer);
1406
subject.AddClaim(new
Claim
(ClaimTypes.AuthenticationMethod, NormalizeAuthenticationType(samlStatement.AuthenticationMethod), ClaimValueTypes.String, issuer));
1407
subject.AddClaim(new
Claim
(ClaimTypes.AuthenticationInstant, XmlConvert.ToString(samlStatement.AuthenticationInstant.ToUniversalTime(), DateTimeFormats.Generated), ClaimValueTypes.DateTime, issuer));
1482
claim = new
Claim
(claimType, innerAttribute.AttributeValues[k], claimValueType, issuer);
System\IdentityModel\X509Util.cs (10)
193
claimsCollection.Add(new
Claim
(ClaimTypes.Thumbprint, thumbprint, ClaimValueTypes.Base64Binary, issuer));
198
claimsCollection.Add(new
Claim
(ClaimTypes.X500DistinguishedName, value, ClaimValueTypes.String, issuer));
204
claimsCollection.Add(new
Claim
(ClaimTypes.Dns, value, ClaimValueTypes.String, issuer));
210
claimsCollection.Add(new
Claim
(ClaimTypes.Name, value, ClaimValueTypes.String, issuer));
216
claimsCollection.Add(new
Claim
(ClaimTypes.Email, value, ClaimValueTypes.String, issuer));
222
claimsCollection.Add(new
Claim
(ClaimTypes.Upn, value, ClaimValueTypes.String, issuer));
228
claimsCollection.Add(new
Claim
(ClaimTypes.Uri, value, ClaimValueTypes.String, issuer));
242
claimsCollection.Add(new
Claim
(ClaimTypes.Rsa, rsa.ToXmlString(false), ClaimValueTypes.RsaKeyValue, issuer));
256
claimsCollection.Add(new
Claim
(ClaimTypes.Dsa, dsa.ToXmlString(false), ClaimValueTypes.DsaKeyValue, issuer));
262
claimsCollection.Add(new
Claim
(ClaimTypes.SerialNumber, value, ClaimValueTypes.String, issuer));
System.ServiceModel (1)
System\ServiceModel\Security\IdentityModelServiceAuthorizationManager.cs (1)
587
new System.Security.Claims.
Claim
(