4 references to RoleClaims
Microsoft.AspNetCore.Identity.EntityFrameworkCore (4)
RoleStore.cs (4)
341return await RoleClaims.Where(rc => rc.RoleId.Equals(role.Id)).Select(c => new Claim(c.ClaimType!, c.ClaimValue!)).ToListAsync(cancellationToken); 357RoleClaims.Add(CreateRoleClaim(role, claim)); 373var claims = await RoleClaims.Where(rc => rc.RoleId.Equals(role.Id) && rc.ClaimValue == claim.Value && rc.ClaimType == claim.Type).ToListAsync(cancellationToken); 376RoleClaims.Remove(c);