14 references to Claims
Microsoft.AspNetCore.Authentication.Cookies (1)
CookieAuthenticationHandler.cs (1)
166var claim = ticket.Principal.Claims.FirstOrDefault(c => c.Type.Equals(SessionIdClaim));
Microsoft.AspNetCore.Authentication.Negotiate.Test (1)
NegotiateHandlerTests.cs (1)
447context.User.Claims,
Microsoft.AspNetCore.Authentication.Test (2)
CertificateTests.cs (1)
831foreach (Claim claim in context.User.Claims)
CookieTests.cs (1)
1893xml.Add(result.Ticket.Principal.Claims.Select(claim => new XElement("claim", new XAttribute("type", claim.Type), new XAttribute("value", claim.Value))));
Microsoft.AspNetCore.Authorization (2)
ClaimsAuthorizationRequirement.cs (2)
58foreach (var claim in context.User.Claims) 69foreach (var claim in context.User.Claims)
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
AuthenticationStateSerializationOptions.cs (1)
52foreach (var claim in authenticationState.User.Claims)
Microsoft.AspNetCore.Http.Connections.Tests (1)
HttpConnectionDispatcherTests.cs (1)
824Assert.Equal("claimValue", connectionHttpContext.User.Claims.FirstOrDefault().Value);
Microsoft.AspNetCore.Identity.FunctionalTests (1)
MapIdentityApiTests.cs (1)
1307authGroup.MapGet("/claims", (ClaimsPrincipal user) => user.Claims.Select(c => new { c.Type, c.Value }));
Microsoft.AspNetCore.Identity.InMemory.Test (1)
FunctionalTest.cs (1)
412xml.Add(result.Principal.Claims.Select(claim => new XElement("claim", new XAttribute("type", claim.Type), new XAttribute("value", claim.Value))));
OpenIdConnectSample (1)
Startup.cs (1)
319await WriteTableHeader(res, new string[] { "Claim Type", "Value" }, context.User.Claims.Select(c => new string[] { c.Type, c.Value }));
SocialSample (1)
Startup.cs (1)
451foreach (var claim in context.User.Claims)
System.Security.Claims (1)
System\Security\Claims\ClaimsPrincipal.cs (1)
589foreach (Claim item in Claims)
WsFedSample (1)
Startup.cs (1)
124await WriteTableHeader(response, new string[] { "Claim Type", "Value" }, context.User.Claims.Select(c => new string[] { c.Type, c.Value }));