public function OAuthRequest::get_signature_base_string in OAuth 1.0 7.3
Same name and namespace in other branches
- 6.3 lib/OAuth.php \OAuthRequest::get_signature_base_string()
- 6 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
- lib/
OAuth.php, line 387 - OAuth 1.0 server and client library.
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 = OAuthUtil::urlencode_rfc3986($parts);
return implode('&', $parts);
}