2 writes to ClaimType
Microsoft.AspNetCore.Identity.InMemory.Test (2)
InMemoryUserStore.cs (2)
43
user.Claims.Add(new PocoUserClaim {
ClaimType
= claim.Type, ClaimValue = claim.Value, UserId = user.Id });
54
matchedClaim.
ClaimType
= newClaim.Type;
4 references to ClaimType
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