Definition at line 81 of file OAuth.php.
◆ build_signature()
OAuthSignatureMethod_HMAC_SHA1::build_signature |
( |
|
$request, |
|
|
|
$consumer, |
|
|
|
$token |
|
) |
| |
Definition at line 88 of file OAuth.php.
References $OAuth_last_computed_signature, $token, and OAuthUtil\urlencode_rfc3986().
91 $OAuth_last_computed_signature =
false;
93 $base_string = $request->get_signature_base_string();
94 $request->base_string = $base_string;
102 $key = implode(
'&', $key_parts);
104 $computed_signature = base64_encode(hash_hmac(
'sha1', $base_string, $key,
true));
105 $OAuth_last_computed_signature = $computed_signature;
106 return $computed_signature;
static urlencode_rfc3986($input)
$OAuth_last_computed_signature
http://oauth.googlecode.com/svn/code/php/
◆ get_name()
OAuthSignatureMethod_HMAC_SHA1::get_name |
( |
| ) |
|
The documentation for this class was generated from the following file: