LTI Tool Provider Library  3.0.2
PHP class library for building LTI Tool Providers
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 (   $key,
  $secret 
)

key = the token secret = the token secret

Definition at line 22 of file OAuthToken.php.

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

Member Function Documentation

__toString ( )

Definition at line 38 of file OAuthToken.php.

References OAuthToken\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 31 of file OAuthToken.php.

References OAuthUtil\urlencode_rfc3986().

Referenced by OAuthToken\__toString().

Field Documentation

$key

Definition at line 15 of file OAuthToken.php.

Referenced by OAuthToken\__construct().

$secret

Definition at line 16 of file OAuthToken.php.

Referenced by OAuthToken\__construct().


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