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