code: function (options, type) {
          // update must have options
          if (!_.isObject(options)) { return; }
          // validate type parameter and/or choose default from existing type.
          if (!RequestAuth.isValidType(type)) { type = this.type; }
  
          var parameters = this[type];
  
          // in case the type holder is not created, we create one and send the population variables
          if (!VariableList.isVariableList(parameters)) {
              // @todo optimise the handling of legacy object type auth parameters
              parameters = this[type] = new VariableList(this);
              parameters._postman_requestAuthType = type;
          }
  
          // we simply assimilate the new options either it is an array or an object
          if (_.isArray(options) || VariableList.isVariableList(options)) {
              parameters.assimilate(options);
          }
          else {
              parameters.syncFromObject(options, false, false); // params: no need to track and no need to prune
          }
      }
docs: Update the parameters of a specific authentication type. If none is provided then it uses the one marked as to be
  used.
  
  @param {VariableList|Array|Object} options
  @param {String=} [type=this.type]