ILIAS  release_8 Revision v8.23
ILIAS\LTIOAuth\OAuthSignatureMethod_HMAC_SHA1 Class Reference

OAuth PECL extension includes an OAuth Exception class, so we need to wrap the definition of this class in order to avoid a PHP error. More...

+ Inheritance diagram for ILIAS\LTIOAuth\OAuthSignatureMethod_HMAC_SHA1:
+ Collaboration diagram for ILIAS\LTIOAuth\OAuthSignatureMethod_HMAC_SHA1:

Public Member Functions

 get_name ()
 

Detailed Description

OAuth PECL extension includes an OAuth Exception class, so we need to wrap the definition of this class in order to avoid a PHP error.

A class for implementing a Signature Method See section 9 ("Signing Requests") in the spec 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")

Definition at line 189 of file OAuth.php.

Member Function Documentation

◆ get_name()

ILIAS\LTIOAuth\OAuthSignatureMethod_HMAC_SHA1::get_name ( )

Definition at line 191 of file OAuth.php.

References $_SERVER, ILIAS\LTIOAuth\$DefaultSignatureMethodPlaintext, $i, ILIAS\LTI\ToolProvider\$key, $keys, $name, $out, $params, $parts, $path, $timestamp, $token, ILIAS\LTIOAuth\$UseHttpHostInsteadOfServerName, $version, ILIAS\__construct(), and ILIAS\Repository\int().

191  : string
192  {
193  return "HMAC-SHA1";
194  }
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: