You are here

public function sOAuthRequest::sign_request in jQuery social stream 7

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

File

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

Class

sOAuthRequest

Code

public function sign_request($signature_method, $consumer, $token) {
  $this
    ->set_parameter("oauth_signature_method", $signature_method
    ->get_name(), false);
  $signature = $this
    ->build_signature($signature_method, $consumer, $token);
  $this
    ->set_parameter("oauth_signature", $signature, false);
}