public function OAuthRequest::get_signature_base_string in OAuth 1.0 6
Same name and namespace in other branches
- 6.3 lib/OAuth.php \OAuthRequest::get_signature_base_string()
- 7.3 lib/OAuth.php \OAuthRequest::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
- ./
OAuth.php, line 302
Class
Code
public function get_signature_base_string() {
/*{{{*/
$parts = array(
$this
->get_normalized_http_method(),
$this
->get_normalized_http_url(),
$this
->get_signable_parameters(),
);
$parts = array_map(array(
'OAuthUtil',
'urlencodeRFC3986',
), $parts);
return implode('&', $parts);
}