1 type derived from RoleManager
Microsoft.AspNetCore.Identity (1)
AspNetRoleManager.cs (1)
13public class AspNetRoleManager<TRole> : RoleManager<TRole>, IDisposable where TRole : class
18 references to RoleManager
Microsoft.AspNetCore.Identity (3)
AspNetRoleManager.cs (2)
18/// Constructs a new instance of <see cref="RoleManager{TRole}"/>. 30ILogger<RoleManager<TRole>> logger,
IdentityServiceCollectionExtensions.cs (1)
109services.TryAddScoped<RoleManager<TRole>>();
Microsoft.Extensions.Identity.Core (15)
IdentityBuilder.cs (3)
199Services.TryAddScoped<RoleManager<TRole>>(); 251/// Adds a <see cref="RoleManager{TRole}"/> for the <see cref="RoleType"/>. 262var managerType = typeof(RoleManager<>).MakeGenericType(RoleType);
IRoleValidator.cs (2)
17/// <param name="manager">The <see cref="RoleManager{TRole}"/> managing the role store.</param> 20Task<IdentityResult> ValidateAsync(RoleManager<TRole> manager, TRole role);
RoleManager.cs (2)
31/// Constructs a new instance of <see cref="RoleManager{TRole}"/>. 42ILogger<RoleManager<TRole>> logger)
RoleValidator.cs (3)
31/// <param name="manager">The <see cref="RoleManager{TRole}"/> managing the role store.</param> 34public virtual async Task<IdentityResult> ValidateAsync(RoleManager<TRole> manager, TRole role) 46private async Task<List<IdentityError>?> ValidateRoleName(RoleManager<TRole> manager, TRole role)
UserClaimsPrincipalFactory.cs (5)
114/// <param name="roleManager">The <see cref="RoleManager{TRole}"/> to retrieve a user's roles from.</param> 116public UserClaimsPrincipalFactory(UserManager<TUser> userManager, RoleManager<TRole> roleManager, IOptions<IdentityOptions> options) 124/// Gets the <see cref="RoleManager{TRole}"/> for this factory. 127/// The current <see cref="RoleManager{TRole}"/> for this factory instance. 129public RoleManager<TRole> RoleManager { get; private set; }