You are here

public function OAuthRequest::get_signable_parameters in OAuth 1.0 7.3

Same name and namespace in other branches
  1. 6.3 lib/OAuth.php \OAuthRequest::get_signable_parameters()
  2. 6 OAuth.php \OAuthRequest::get_signable_parameters()

The request parameters, sorted and concatenated into a normalized string.

Return value

string

1 call to OAuthRequest::get_signable_parameters()
OAuthRequest::get_signature_base_string in lib/OAuth.php
Returns the base string of this request

File

lib/OAuth.php, line 367
OAuth 1.0 server and client library.

Class

OAuthRequest

Code

public function get_signable_parameters() {

  // Grab all parameters
  $params = $this->parameters;

  // Remove oauth_signature if present
  // Ref: Spec: 9.1.1 ("The oauth_signature parameter MUST be excluded.")
  if (isset($params['oauth_signature'])) {
    unset($params['oauth_signature']);
  }
  return OAuthUtil::build_http_query($params);
}