Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 | 1x 1x 1x 1x 1x | const _ = require('underscore'); const getLdapClientOpts = require('./service.getLdapClientOpts'); const getLdapSearchOpts = require('./service.getLdapSearchOpts'); /** * From the list of options, retrieves the ldapjs specific options. * * @param {Object} opts The opts to parse. * @returns {Object} The ldapjs opts. */ const getLdapOpts = (opts) => { return (_.defaults({}, getLdapClientOpts(opts), getLdapSearchOpts(opts))); } module.exports = getLdapOpts; |