48 if (strlen($built) == 0 || strlen($signature) == 0) {
52 if (strlen($built) != strlen($signature)) {
58 for ($i = 0; $i < strlen($signature); $i++) {
59 $result |= ord($built{$i}) ^ ord($signature{$i});
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)
check_signature($request, $consumer, $token, $signature)
Verifies that a given signature is correct.
Class to represent an OAuth Signature Method.