3namespace ceLTIc\LTI\OAuth;
57 if (strlen($built) == 0 || strlen($signature) == 0) {
61 if (strlen($built) != strlen($signature)) {
67 for ($i = 0; $i < strlen($signature); $i++) {
68 $result |= ord($built[$i]) ^ ord($signature[$i]);
Class to represent an OAuth signature method.
get_name()
Needs to return the name of the Signature Method (eg HMAC-SHA1).
check_signature($request, $consumer, $token, $signature)
Verifies that a given signature is correct.
build_signature($request, $consumer, $token)
Build up the signature.