Class to represent an OAuth token.
More...
|
| __construct (string $key, string $secret) |
| Class constructor.
|
|
| to_string () |
| Generates the basic string serialization of a token that a server would respond to request_token and access_token calls with.
|
|
| __toString () |
| Convert object to a string.
|
|
Class to represent an OAuth token.
- Copyright
- Andy Smith (http://oauth.googlecode.com/svn/code/php/)
- Version
- 2008-08-04
- Licence: https://opensource.org/licenses/MIT The MIT License
◆ __construct()
ceLTIc\LTI\OAuth\OAuthToken::__construct |
( |
string | $key, |
|
|
string | $secret ) |
Class constructor.
- Parameters
-
string | $key | The token |
string | $secret | The token secret |
◆ __toString()
ceLTIc\LTI\OAuth\OAuthToken::__toString |
( |
| ) |
|
Convert object to a string.
- Returns
- string
◆ to_string()
ceLTIc\LTI\OAuth\OAuthToken::to_string |
( |
| ) |
|
Generates the basic string serialization of a token that a server would respond to request_token and access_token calls with.
- Returns
- string
◆ $key
string ceLTIc\LTI\OAuth\OAuthToken::$key |
◆ $secret
string ceLTIc\LTI\OAuth\OAuthToken::$secret |