27 $base_string =
$request->get_signature_base_string();
28 $request->base_string = $base_string;
36 $key = implode(
'&', $key_parts);
38 return base64_encode(hash_hmac(
'sha1', $base_string,
$key,
true));
foreach($paths as $path) $request
An exception for terminatinating execution or to throw for unit testing.
Class to represent an OAuth HMAC_SHA1 signature method.
build_signature($request, $consumer, $token)
Build up the signature NOTE: The output of this function MUST NOT be urlencoded.
get_name()
Needs to return the name of the Signature Method (ie HMAC-SHA1)
Class to represent an OAuth Signature Method.
static urlencode_rfc3986($input)