LTI Integration Library 5.2.0
PHP class library for building LTI integrations
 
Loading...
Searching...
No Matches
ceLTIc\LTI\OAuth\OAuthConsumer Class Reference

Class to represent an OAuth Consumer. More...

Public Member Functions

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

Public Attributes

string $key
 Consumer key.
 
string $secret
 Shared secret.
 
string $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

Constructor & Destructor Documentation

◆ __construct()

ceLTIc\LTI\OAuth\OAuthConsumer::__construct ( string $key,
string $secret,
?string $callback_url = null )

Class constructor.

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

Member Function Documentation

◆ __toString()

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

Convert object to a string.

Returns
string

Member Data Documentation

◆ $callback_url

string ceLTIc\LTI\OAuth\OAuthConsumer::$callback_url

Callback URL.

◆ $key

string ceLTIc\LTI\OAuth\OAuthConsumer::$key

Consumer key.

◆ $secret

string ceLTIc\LTI\OAuth\OAuthConsumer::$secret

Shared secret.