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