public OpenLdapPasswordVerifier(
            ILoggerFactory loggerFactory,
            IOptions <DirectorySettings> directorySettings,
            IDirectory directory)
        {
            _directory         = directory;
            _directorySettings = directorySettings.Value;

            _logger = loggerFactory.CreateLogger <OpenLdapPasswordVerifier <TUser> >();
        }
Exemple #2
0
 public Directory(IOptions <DirectorySettings> options, ILoggerFactory loggerFactory)
 {
     _options = options.Value;
     _logger  = loggerFactory.CreateLogger <Directory>();
 }