1 implementation of IRoleValidator
Microsoft.Extensions.Identity.Core (1)
RoleValidator.cs (1)
15public class RoleValidator<TRole> : IRoleValidator<TRole> where TRole : class
9 references to IRoleValidator
Microsoft.AspNetCore.Identity (2)
AspNetRoleManager.cs (1)
27IEnumerable<IRoleValidator<TRole>> roleValidators,
IdentityServiceCollectionExtensions.cs (1)
98services.TryAddScoped<IRoleValidator<TRole>, RoleValidator<TRole>>();
Microsoft.Extensions.Identity.Core (7)
IdentityBuilder.cs (2)
205/// Adds an <see cref="IRoleValidator{TRole}"/> for the <see cref="RoleType"/>. 216return AddScoped(typeof(IRoleValidator<>).MakeGenericType(RoleType), typeof(TRole));
RoleManager.cs (5)
39IEnumerable<IRoleValidator<TRole>> roleValidators, 52foreach (var v in roleValidators) 77public IList<IRoleValidator<TRole>> RoleValidators { get; } = new List<IRoleValidator<TRole>>(); 400foreach (var v in RoleValidators)