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.
|
|
|
string | $key |
| Name.
|
|
string | $secret |
| Secret.
|
|
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()
__construct |
( |
string | $key, |
|
|
string | $secret ) |
Class constructor.
- Parameters
-
string | $key | The token |
string | $secret | The token secret |
◆ __toString()
Convert object to a string.
- Returns
- string
◆ 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