You are here

public function sOAuthRequest::get_signature_base_string in jQuery social stream 7.2

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

Returns the base string of this request

The base string defined as the method, the url and the parameters (normalized), each urlencoded and the concated with &.

File

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

Class

sOAuthRequest

Code

public function get_signature_base_string() {
  $parts = array(
    $this
      ->get_normalized_http_method(),
    $this
      ->get_normalized_http_url(),
    $this
      ->get_signable_parameters(),
  );
  $parts = sOAuthUtil::urlencode_rfc3986($parts);
  return implode('&', $parts);
}