build/authorify.js
function getConfigOptions(opts) {
    opts = formatOptions(opts);
    _.forEach(config, function(value, key) {
      opts[key] = opts[key] || value;
    });
    opts.headers = opts.headers || {};

    return opts;
  }
function getConfigOptions(opts) {
    opts = formatOptions(opts);
    _.forEach(config, function(value, key) {
      opts[key] = opts[key] || value;
    });
    opts.headers = opts.headers || {};

    return opts;
  }
function getConfigOptions ( opts ) { opts = formatOptions ( opts ) ; _ . forEach ( config , function ( value , key ) { opts [ key ] = opts [ key ] || value ; } ) ; opts . headers = opts . headers || { } ; return opts ; }
Get all options with default values if empty

@param {Object/String} opts The options object or string with the required name
@returns {Object} The configuration with default values
@private
@ignore
Get all options with default values if empty