function LingotekOAuthRequest::signatureBaseString in Lingotek Translation 7.4
Same name and namespace in other branches
- 7.7 lib/oauth-php/library/LingotekOAuthRequest.php \LingotekOAuthRequest::signatureBaseString()
- 7.5 lib/oauth-php/library/LingotekOAuthRequest.php \LingotekOAuthRequest::signatureBaseString()
- 7.6 lib/oauth-php/library/LingotekOAuthRequest.php \LingotekOAuthRequest::signatureBaseString()
* Return the signature base string. * Note that we can't use rawurlencode due to specified use of RFC3986. * *
Return value
string
3 calls to LingotekOAuthRequest::signatureBaseString()
- LingotekOAuthRequest::calculateSignature in lib/
oauth-php/ library/ LingotekOAuthRequest.php - * Calculate the signature of the request, using the method in oauth_signature_method. * The signature is returned encoded in the form as used in the url. So the base64 and * urlencoding has been done. * *
- LingotekOAuthRequestVerifier::verifyExtended in lib/
oauth-php/ library/ LingotekOAuthRequestVerifier.php - * Verify the request * *
- LingotekOAuthRequestVerifier::verifySignature in lib/
oauth-php/ library/ LingotekOAuthRequestVerifier.php - * Verify the signature of the request, using the method in oauth_signature_method. * The signature is returned encoded in the form as used in the url. So the base64 and * urlencoding has been done. * *
File
- lib/
oauth-php/ library/ LingotekOAuthRequest.php, line 156
Class
- LingotekOAuthRequest
- Object to parse an incoming OAuth request or prepare an outgoing OAuth request
Code
function signatureBaseString() {
$sig = array();
$sig[] = $this->method;
$sig[] = $this
->getRequestUrl();
$sig[] = $this
->getNormalizedParams();
return implode('&', array_map(array(
$this,
'urlencode',
), $sig));
}