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)
803
if (string.Equals(claim.
Type
, type, StringComparison.OrdinalIgnoreCase))
864
&& string.Equals(claim.
Type
, type, StringComparison.OrdinalIgnoreCase)
920
if (string.Equals(claim.
Type
, type, StringComparison.OrdinalIgnoreCase))
System.IdentityModel (30)
System\IdentityModel\Claims\ClaimsHelper.cs (1)
59
if (StringComparer.Ordinal.Equals(ClaimTypes.Upn, claim.
Type
))
System\IdentityModel\Diagnostics\AuthorizeTraceRecord.cs (1)
64
writer.WriteAttributeString( "Type", c.
Type
);
System\IdentityModel\Diagnostics\ClaimsPrincipalTraceRecord.cs (1)
77
writer.WriteAttributeString( "Type", c.
Type
);
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (6)
1089
Saml2Attribute attribute = new Saml2Attribute(claim.
Type
, claim.Value);
1139
if (claim != null && claim.
Type
!= ClaimTypes.NameIdentifier)
1141
switch (claim.
Type
)
1342
IEnumerable<Claim> claimCollection = from c in tokenDescriptor.Subject.Claims where c.
Type
== ClaimTypes.AuthenticationMethod select c;
1351
claimCollection = from c in tokenDescriptor.Subject.Claims where c.
Type
== ClaimTypes.AuthenticationInstant select c;
1427
if (claim.
Type
== ClaimTypes.NameIdentifier)
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (14)
359
where c.
Type
== ClaimTypes.AuthenticationMethod
370
where c.
Type
== ClaimTypes.AuthenticationInstant
437
if (claim != null && claim.
Type
!= ClaimTypes.NameIdentifier)
443
switch (claim.
Type
)
570
if (claim.
Type
== ClaimTypes.NameIdentifier)
670
int lastSlashIndex = claim.
Type
.LastIndexOf('/');
676
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("claimType", SR.GetString(SR.ID4216, claim.
Type
));
678
else if (lastSlashIndex == claim.
Type
.Length - 1)
680
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("claimType", SR.GetString(SR.ID4216, claim.
Type
));
684
attributeNamespace = claim.
Type
.Substring(0, lastSlashIndex);
707
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("claim", SR.GetString(SR.ID4213, claim.
Type
));
709
attributeName = claim.
Type
.Substring(lastSlashIndex + 1, claim.
Type
.Length - (lastSlashIndex + 1));
1324
if (StringComparer.Ordinal.Equals(claimType, claim.
Type
))
System\IdentityModel\Tokens\SessionSecurityToken.cs (7)
1331
if (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)
1437
dictionaryWriter.WriteAttributeString(dictionary.Type, dictionary.EmptyString, claim.
Type
);
System.ServiceModel (2)
System\ServiceModel\Security\IdentityModelServiceAuthorizationManager.cs (2)
564
claimsIdentity.Claims.FirstOrDefault(claim => claim.
Type
== System.Security.Claims.ClaimTypes.AuthenticationMethod);
581
claimsIdentity.Claims.FirstOrDefault(claim => claim.
Type
== System.Security.Claims.ClaimTypes.AuthenticationInstant);