LTI Integration Library  3.1.0
PHP class library for building LTI integrations
OAuthToken Class Reference

Class to represent an OAuth Token. More...

Public Member Functions

 __construct ($key, $secret)
 key = the token secret = the token secret More...
 
 to_string ()
 generates the basic string serialization of a token that a server would respond to request_token and access_token calls with More...
 
 __toString ()
 

Data Fields

 $key
 
 $secret
 

Detailed Description

Class to represent an OAuth Token.

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

Definition at line 12 of file OAuthToken.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $key,
  $secret 
)

key = the token secret = the token secret

Definition at line 23 of file OAuthToken.php.

References OAuthToken\$key, and OAuthToken\$secret.

Member Function Documentation

◆ __toString()

__toString ( )

Definition at line 41 of file OAuthToken.php.

References OAuthToken\to_string().

◆ to_string()

to_string ( )

generates the basic string serialization of a token that a server would respond to request_token and access_token calls with

Definition at line 33 of file OAuthToken.php.

References OAuthUtil\urlencode_rfc3986().

Referenced by OAuthToken\__toString().

Field Documentation

◆ $key

$key

Definition at line 16 of file OAuthToken.php.

Referenced by OAuthToken\__construct().

◆ $secret

$secret

Definition at line 17 of file OAuthToken.php.

Referenced by OAuthToken\__construct().


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