using DotBased.AspNet.Authority.Validators; using DotBased.Logging; namespace DotBased.AspNet.Authority.Services; public class AuthorityUserManager { public AuthorityUserManager( AuthorityManager manager, IEnumerable>? passwordValidators, IEnumerable>? userValidators) { _logger = LogService.RegisterLogger>(); AuthorityManager = manager; if (passwordValidators != null) PasswordValidators = passwordValidators; if (userValidators != null) UserValidators = userValidators; } private readonly ILogger _logger; public AuthorityManager AuthorityManager { get; } public IEnumerable> PasswordValidators { get; } = []; public IEnumerable> UserValidators { get; } = []; }