36 references to Type
mscorlib (4)
system\security\claims\Claim.cs (1)
617/// The returned string contains the values of the <see cref="Type"/> and <see cref="Value"/> properties.
system\security\claims\ClaimsIdentity.cs (3)
803if (string.Equals(claim.Type, type, StringComparison.OrdinalIgnoreCase)) 864&& string.Equals(claim.Type, type, StringComparison.OrdinalIgnoreCase) 920if (string.Equals(claim.Type, type, StringComparison.OrdinalIgnoreCase))
System.IdentityModel (30)
System\IdentityModel\Claims\ClaimsHelper.cs (1)
59if (StringComparer.Ordinal.Equals(ClaimTypes.Upn, claim.Type))
System\IdentityModel\Diagnostics\AuthorizeTraceRecord.cs (1)
64writer.WriteAttributeString( "Type", c.Type );
System\IdentityModel\Diagnostics\ClaimsPrincipalTraceRecord.cs (1)
77writer.WriteAttributeString( "Type", c.Type );
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (6)
1089Saml2Attribute attribute = new Saml2Attribute(claim.Type, claim.Value); 1139if (claim != null && claim.Type != ClaimTypes.NameIdentifier) 1141switch (claim.Type) 1342IEnumerable<Claim> claimCollection = from c in tokenDescriptor.Subject.Claims where c.Type == ClaimTypes.AuthenticationMethod select c; 1351claimCollection = from c in tokenDescriptor.Subject.Claims where c.Type == ClaimTypes.AuthenticationInstant select c; 1427if (claim.Type == ClaimTypes.NameIdentifier)
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (14)
359where c.Type == ClaimTypes.AuthenticationMethod 370where c.Type == ClaimTypes.AuthenticationInstant 437if (claim != null && claim.Type != ClaimTypes.NameIdentifier) 443switch (claim.Type) 570if (claim.Type == ClaimTypes.NameIdentifier) 670int lastSlashIndex = claim.Type.LastIndexOf('/'); 676throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("claimType", SR.GetString(SR.ID4216, claim.Type)); 678else if (lastSlashIndex == claim.Type.Length - 1) 680throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("claimType", SR.GetString(SR.ID4216, claim.Type)); 684attributeNamespace = claim.Type.Substring(0, lastSlashIndex); 707throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("claim", SR.GetString(SR.ID4213, claim.Type)); 709attributeName = claim.Type.Substring(lastSlashIndex + 1, claim.Type.Length - (lastSlashIndex + 1)); 1324if (StringComparer.Ordinal.Equals(claimType, claim.Type))
System\IdentityModel\Tokens\SessionSecurityToken.cs (7)
1331if (c.Type == ClaimTypes.GroupSid 1332|| c.Type == ClaimTypes.PrimaryGroupSid 1333|| c.Type == ClaimTypes.PrimarySid 1334|| c.Type == ClaimTypes.DenyOnlyPrimaryGroupSid 1335|| c.Type == ClaimTypes.DenyOnlyPrimarySid 1336|| c.Type == ClaimTypes.Name && c.Issuer == ClaimsIdentity.DefaultIssuer && c.ValueType == ClaimValueTypes.String) 1437dictionaryWriter.WriteAttributeString(dictionary.Type, dictionary.EmptyString, claim.Type);
System.ServiceModel (2)
System\ServiceModel\Security\IdentityModelServiceAuthorizationManager.cs (2)
564claimsIdentity.Claims.FirstOrDefault(claim => claim.Type == System.Security.Claims.ClaimTypes.AuthenticationMethod); 581claimsIdentity.Claims.FirstOrDefault(claim => claim.Type == System.Security.Claims.ClaimTypes.AuthenticationInstant);