You are here

public function sOAuthRequest::get_signable_parameters in jQuery social stream 7

Same name and namespace in other branches
  1. 7.2 jquery_social_stream.js.inc \sOAuthRequest::get_signable_parameters()

The request parameters, sorted and concatenated into a normalized string.

Return value

string

1 call to sOAuthRequest::get_signable_parameters()
sOAuthRequest::get_signature_base_string in ./jquery_social_stream.js.inc
Returns the base string of this request

File

./jquery_social_stream.js.inc, line 666
JS callbacks.

Class

sOAuthRequest

Code

public function get_signable_parameters() {

  // Grab all parameters
  $params = $this->parameters;

  // Remove oauth_signature if present
  // Ref: Spec: 9.1.1 ("The oauth_signature parameter MUST be excluded.")
  if (isset($params['oauth_signature'])) {
    unset($params['oauth_signature']);
  }
  return sOAuthUtil::build_http_query($params);
}