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