|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class to represent an OAuth Signature Method. More...
Inheritance diagram for IMSGlobal\LTI\OAuth\OAuthSignatureMethod:
Collaboration diagram for IMSGlobal\LTI\OAuth\OAuthSignatureMethod: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 |
Reimplemented in IMSGlobal\LTI\OAuth\OAuthSignatureMethod_HMAC_SHA1, and IMSGlobal\LTI\OAuth\OAuthSignatureMethod_HMAC_SHA256.
Referenced by IMSGlobal\LTI\OAuth\OAuthSignatureMethod\check_signature().
Here is the caller graph for this function:| 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 $i, $request, $result, PHPMailer\PHPMailer\$token, and IMSGlobal\LTI\OAuth\OAuthSignatureMethod\build_signature().
Here is the call graph for this function:
|
abstract |
Needs to return the name of the Signature Method (ie HMAC-SHA1)
Reimplemented in IMSGlobal\LTI\OAuth\OAuthSignatureMethod_HMAC_SHA1, and IMSGlobal\LTI\OAuth\OAuthSignatureMethod_HMAC_SHA256.