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