The HMAC-SHA1 signature method uses the HMAC-SHA1 signature algorithm as defined in [RFC2104] where the Signature Base String is the text and the key is the concatenated values (each first encoded per Parameter Encoding) of the Consumer Secret and Token Secret, separated by an '&' character (ASCII code 38) even if empty.
More...
|
| | build_signature ($request, $consumer, $token) |
| | Build up the signature NOTE: The output of this function MUST NOT be urlencoded.
|
| |
| | check_signature ($request, $consumer, $token, $signature) |
| | Verifies that a given signature is correct.
|
| |
| | get_name () |
| | Needs to return the name of the Signature Method (ie HMAC-SHA1)
|
| |
The HMAC-SHA1 signature method uses the HMAC-SHA1 signature algorithm as defined in [RFC2104] where the Signature Base String is the text and the key is the concatenated values (each first encoded per Parameter Encoding) of the Consumer Secret and Token Secret, separated by an '&' character (ASCII code 38) even if empty.
- Chapter 9.2 ("HMAC-SHA1")
◆ build_signature()
| IMSGlobal\LTI\OAuth\OAuthSignatureMethod_HMAC_SHA1::build_signature |
( |
| $request, |
|
|
| $consumer, |
|
|
| $token ) |
◆ check_signature()
| IMSGlobal\LTI\OAuth\OAuthSignatureMethod::check_signature |
( |
| $request, |
|
|
| $consumer, |
|
|
| $token, |
|
|
| $signature ) |
|
inherited |
Verifies that a given signature is correct.
- Parameters
-
- Return values
-
◆ get_name()
| IMSGlobal\LTI\OAuth\OAuthSignatureMethod_HMAC_SHA1::get_name |
( |
| ) |
|
The documentation for this class was generated from the following file:
- lib/ltiprovider/src/OAuth/OAuthSignatureMethod_HMAC_SHA1.php