ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
IMSGlobal\LTI\OAuth\OAuthConsumer Class Reference

Class to represent an OAuth Consumer. More...

+ Collaboration diagram for IMSGlobal\LTI\OAuth\OAuthConsumer:

Public Member Functions

 __construct ($key, $secret, $callback_url=NULL)
 
 __toString ()
 

Data Fields

 $key
 
 $secret
 

Detailed Description

Class to represent an OAuth Consumer.

Version
2008-08-04 https://opensource.org/licenses/MIT The MIT License

Definition at line 12 of file OAuthConsumer.php.

Constructor & Destructor Documentation

◆ __construct()

IMSGlobal\LTI\OAuth\OAuthConsumer::__construct (   $key,
  $secret,
  $callback_url = NULL 
)

Definition at line 17 of file OAuthConsumer.php.

References IMSGlobal\LTI\OAuth\OAuthConsumer\$key, and IMSGlobal\LTI\OAuth\OAuthConsumer\$secret.

17  {
18  $this->key = $key;
19  $this->secret = $secret;
20  $this->callback_url = $callback_url;
21  }

Member Function Documentation

◆ __toString()

IMSGlobal\LTI\OAuth\OAuthConsumer::__toString ( )

Definition at line 23 of file OAuthConsumer.php.

23  {
24  return "OAuthConsumer[key=$this->key,secret=$this->secret]";
25  }

Field Documentation

◆ $key

IMSGlobal\LTI\OAuth\OAuthConsumer::$key

Definition at line 14 of file OAuthConsumer.php.

Referenced by IMSGlobal\LTI\OAuth\OAuthConsumer\__construct().

◆ $secret

IMSGlobal\LTI\OAuth\OAuthConsumer::$secret

Definition at line 15 of file OAuthConsumer.php.

Referenced by IMSGlobal\LTI\OAuth\OAuthConsumer\__construct().


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