Class to represent an OAuth token. More...
Public Member Functions | |
__construct ($key, $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. | |
Data Fields | |
$key | |
Name. | |
$secret | |
Secret. | |
Class to represent an OAuth token.
Definition at line 12 of file OAuthToken.php.
__construct | ( | $key, | |
$secret | |||
) |
Class constructor.
string | $key | The token |
string | $secret | The token secret |
Definition at line 36 of file OAuthToken.php.
References OAuthToken\$key, and OAuthToken\$secret.
__toString | ( | ) |
Convert object to a string.
Definition at line 61 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 48 of file OAuthToken.php.
References OAuthUtil\urlencode_rfc3986().
Referenced by OAuthToken\__toString().
string $key |
string $secret |