ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class to represent an OAuth Signature Method. More...
Public Member Functions | |
get_name () | |
Needs to return the name of the Signature Method (ie HMAC-SHA1) More... | |
build_signature ($request, $consumer, $token) | |
Build up the signature NOTE: The output of this function MUST NOT be urlencoded. More... | |
check_signature ($request, $consumer, $token, $signature) | |
Verifies that a given signature is correct. More... | |
Class to represent an OAuth Signature Method.
Definition at line 16 of file OAuthSignatureMethod.php.
|
abstract |
Build up the signature NOTE: The output of this function MUST NOT be urlencoded.
the encoding is handled in OAuthRequest when the final request is serialized
OAuthRequest | $request | |
OAuthConsumer | $consumer | |
OAuthToken | $token |
Referenced by IMSGlobal\LTI\OAuth\OAuthSignatureMethod\check_signature().
IMSGlobal\LTI\OAuth\OAuthSignatureMethod::check_signature | ( | $request, | |
$consumer, | |||
$token, | |||
$signature | |||
) |
Verifies that a given signature is correct.
OAuthRequest | $request | |
OAuthConsumer | $consumer | |
OAuthToken | $token | |
string | $signature |
Definition at line 43 of file OAuthSignatureMethod.php.
References $consumer, $i, $result, and IMSGlobal\LTI\OAuth\OAuthSignatureMethod\build_signature().
|
abstract |
Needs to return the name of the Signature Method (ie HMAC-SHA1)