29 references to Type
Microsoft.AspNetCore.Antiforgery (9)
Internal\DefaultClaimUidExtractor.cs (9)
48claim => string.Equals("sub", claim.Type, StringComparison.Ordinal)); 53subClaim.Type, 60claim => string.Equals(ClaimTypes.NameIdentifier, claim.Type, StringComparison.Ordinal)); 65nameIdentifierClaim.Type, 72claim => string.Equals(ClaimTypes.Upn, claim.Type, StringComparison.Ordinal)); 77upnClaim.Type, 100allClaims.Sort((a, b) => string.Compare(a.Type, b.Type, StringComparison.Ordinal)); 106identifierParameters.Add(claim.Type);
Microsoft.AspNetCore.Authentication (1)
TicketSerializer.cs (1)
137WriteWithDefault(writer, claim.Type, claim.Subject?.NameClaimType ?? ClaimsIdentity.DefaultNameClaimType);
Microsoft.AspNetCore.Authentication.Cookies (1)
CookieAuthenticationHandler.cs (1)
166var claim = ticket.Principal.Claims.FirstOrDefault(c => c.Type.Equals(SessionIdClaim));
Microsoft.AspNetCore.Authentication.OAuth (1)
MapAllClaimsAction.cs (1)
31var duplicate = identity.FindFirst(c => string.Equals(c.Type, pair.Name, StringComparison.OrdinalIgnoreCase)
Microsoft.AspNetCore.Authorization (2)
ClaimsAuthorizationRequirement.cs (2)
60if (string.Equals(claim.Type, requirement.ClaimType, StringComparison.OrdinalIgnoreCase)) 71if (string.Equals(claim.Type, requirement.ClaimType, StringComparison.OrdinalIgnoreCase)
Microsoft.AspNetCore.Components.Authorization (2)
ClaimData.cs (2)
28/// <see cref="Claim.Type"/> and <see cref="Claim.Value"/> into their corresponding properties. 32: this(claim.Type, claim.Value)
Microsoft.Extensions.Identity.Stores (3)
IdentityRoleClaim.cs (1)
50ClaimType = other?.Type;
IdentityUserClaim.cs (1)
50ClaimType = claim.Type;
RoleStoreBase.cs (1)
247=> new TRoleClaim { RoleId = role.Id, ClaimType = claim.Type, ClaimValue = claim.Value };
System.Security.Claims (10)
System\Security\Claims\Claim.cs (1)
514/// The returned string contains the values of the <see cref="Type"/> and <see cref="Value"/> properties.
System\Security\Claims\ClaimsIdentity.cs (9)
117/// <param name="nameType">The <see cref="Claim.Type"/> used when obtaining the value of <see cref="ClaimsIdentity.Name"/>.</param> 118/// <param name="roleType">The <see cref="Claim.Type"/> used when performing logic for <see cref="ClaimsPrincipal.IsInRole"/>.</param> 130/// <param name="nameType">The <see cref="Claim.Type"/> used when obtaining the value of <see cref="ClaimsIdentity.Name"/>.</param> 131/// <param name="roleType">The <see cref="Claim.Type"/> used when performing logic for <see cref="ClaimsPrincipal.IsInRole"/>.</param> 144/// <param name="nameType">The <see cref="Claim.Type"/> used when obtaining the value of <see cref="ClaimsIdentity.Name"/>.</param> 145/// <param name="roleType">The <see cref="Claim.Type"/> used when performing logic for <see cref="ClaimsPrincipal.IsInRole"/>.</param> 635if (string.Equals(claim.Type, type, _stringComparison)) 679if (string.Equals(claim.Type, type, _stringComparison)) 726&& string.Equals(claim.Type, type, _stringComparison)