LTI Integration Library 4.10.3
PHP class library for building LTI integrations
 
Loading...
Searching...
No Matches
OAuthConsumer Class Reference

Class to represent an OAuth Consumer. More...

Public Member Functions

 __construct ($key, $secret, $callback_url=null)
 Class constructor.
 
 __toString ()
 Convert object to a string.
 

Data Fields

 $key
 Consumer key.
 
 $secret
 Shared secret.
 
 $callback_url
 Callback URL.
 

Detailed Description

Class to represent an OAuth Consumer.

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

Definition at line 12 of file OAuthConsumer.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $key,
  $secret,
  $callback_url = null 
)

Class constructor.

Parameters
string$keyConsumer key
string$secretShared secret
string | null$callback_urlCallback URL

Definition at line 43 of file OAuthConsumer.php.

References OAuthConsumer\$callback_url, OAuthConsumer\$key, and OAuthConsumer\$secret.

Member Function Documentation

◆ __toString()

__toString ( )

Convert object to a string.

Returns
string

Definition at line 55 of file OAuthConsumer.php.

Field Documentation

◆ $callback_url

string null $callback_url

Callback URL.

Definition at line 34 of file OAuthConsumer.php.

Referenced by OAuthConsumer\__construct().

◆ $key

string $key

Consumer key.

Definition at line 20 of file OAuthConsumer.php.

Referenced by OAuthConsumer\__construct().

◆ $secret

string $secret

Shared secret.

Definition at line 27 of file OAuthConsumer.php.

Referenced by OAuthConsumer\__construct().


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