code: function (params) {
          var url = params.url,
              method = params.method,
              helperParams = params.helperParams,
              queryParams = params.queryParams,
              bodyParams = params.bodyParams,
              signatureParams,
              message,
              accessor = {},
              allParams,
              signature;
  
          signatureParams = [
              {system: true, key: OAUTH1_PARAMS.oauthConsumerKey, value: helperParams.consumerKey},
              {system: true, key: OAUTH1_PARAMS.oauthToken, value: helperParams.token},
              {system: true, key: OAUTH1_PARAMS.oauthSignatureMethod, value: helperParams.signatureMethod},
              {system: true, key: OAUTH1_PARAMS.oauthTimestamp, value: helperParams.timestamp},
              {system: true, key: OAUTH1_PARAMS.oauthNonce, value: helperParams.nonce},
              {system: true, key: OAUTH1_PARAMS.oauthVersion, value: helperParams.version}
          ];
  
          signatureParams = _.filter(signatureParams, function (param) {
              return helperParams.addEmptyParamsToSign || param.value;
          });
  
          allParams = [].concat(signatureParams, queryParams, bodyParams);
          message = {
              action: url,
              method: method,
              parameters: _.map(allParams, function (param) {
                  return [param.key, param.value];
              })
          };
  
          if (helperParams.consumerSecret) {
              accessor.consumerSecret = helperParams.consumerSecret;
          }
          if (helperParams.tokenSecret) {
              accessor.tokenSecret = helperParams.tokenSecret;
          }
          signature = oAuth1.SignatureMethod.sign(message, accessor);
          signatureParams.push({system: true, key: OAUTH1_PARAMS.oauthSignature, value: signature});
  
          return signatureParams;
      }
docs: Generates a oAuth1.
  
  @param {Object} params
  @param {String} params.url OAuth 1.0 Base URL
  @param {String} params.method Request method
  @param {Object[]} params.helperParams The auth parameters stored with the `Request`
  @param {Object[]} params.queryParams An array of query parameters
  @param {Object[]} params.bodyParams An array of request body parameters (in case of url-encoded bodies)
  
  @returns {*}