6 references to Claims
Microsoft.AspNetCore.Identity.InMemory.Test (6)
InMemoryUserStore.cs (6)
35var claims = user.Claims.Select(c => new Claim(c.ClaimType, c.ClaimValue)).ToList(); 43user.Claims.Add(new PocoUserClaim { ClaimType = claim.Type, ClaimValue = claim.Value, UserId = user.Id }); 50var matchedClaims = user.Claims.Where(uc => uc.ClaimValue == claim.Value && uc.ClaimType == claim.Type).ToList(); 64user.Claims.FirstOrDefault( 68user.Claims.Remove(entity); 339where user.Claims.Where(x => x.ClaimType == claim.Type && x.ClaimValue == claim.Value).FirstOrDefault() != null