public AddRequestCommandHandler(ILDAPEntryQueryStore ldapQueryStore, ILDAPEntryCommandStore ldapCommandStore, IOptions <LdapServerOptions> options, IEnumerable <IAttributeSyntaxValidator> attributeSyntaxLst) { _ldapQueryStore = ldapQueryStore; _ldapCommandStore = ldapCommandStore; _options = options.Value; _attributeSyntaxLst = attributeSyntaxLst; }
/// <summary> /// Constructor /// </summary> /// <param name="appSettings">AppSettings</param> public OpenLdapHealthCheck(AppSettings appSettings) { this.appSettings = appSettings; this.ldapServer = this.appSettings?.LdapServer; }
public LdapUserManager(IOptions <AppSettings> configuration) { this.appSettings = configuration.Value; this.ldapServer = this.appSettings?.LdapServer; }
public SimpleAuthenticationHandler(IOptions <LdapServerOptions> options, ILDAPEntryQueryStore ldapEntryQueryStore, IMatchingRuleHandlerFactory matchingRuleHandlerFactory) { _options = options.Value; _ldapEntryQueryStore = ldapEntryQueryStore; _matchingRuleHandlerFactory = matchingRuleHandlerFactory; }
public SearchRequestCommandHandler(IOptions <LdapServerOptions> options, ILDAPEntryQueryStore ldapEntryQueryStore, IEnumerable <IAuthenticationHandler> authenticationHandlers) { _options = options.Value; _ldapEntryQueryStore = ldapEntryQueryStore; _authenticationHandlers = authenticationHandlers; }