public function OAuthRequest::sign_request in OAuth 1.0 6
Same name and namespace in other branches
- 6.3 lib/OAuth.php \OAuthRequest::sign_request()
- 7.3 lib/OAuth.php \OAuthRequest::sign_request()
File
- ./
OAuth.php, line 374
Class
Code
public function sign_request($signature_method, $consumer, $token) {
/*{{{*/
$this
->set_parameter("oauth_signature_method", $signature_method
->get_name());
$signature = $this
->build_signature($signature_method, $consumer, $token);
$this
->set_parameter("oauth_signature", $signature);
}