Class to represent an OAuth Consumer. More...
Public Member Functions | |
__construct ($key, $secret, $callback_url=null) | |
Class constructor. | |
__toString () | |
Convert object to a string. | |
Data Fields | |
$key | |
Consumer key. | |
$secret | |
Shared secret. | |
$callback_url | |
Callback URL. | |
Class to represent an OAuth Consumer.
Definition at line 12 of file OAuthConsumer.php.
__construct | ( | $key, | |
$secret, | |||
$callback_url = null |
|||
) |
Class constructor.
string | $key | Consumer key |
string | $secret | Shared secret |
string | null | $callback_url | Callback URL |
Definition at line 43 of file OAuthConsumer.php.
References OAuthConsumer\$callback_url, OAuthConsumer\$key, and OAuthConsumer\$secret.
__toString | ( | ) |
string null $callback_url |
Callback URL.
Definition at line 34 of file OAuthConsumer.php.
Referenced by OAuthConsumer\__construct().
string $key |
Consumer key.
Definition at line 20 of file OAuthConsumer.php.
Referenced by OAuthConsumer\__construct().
string $secret |
Shared secret.
Definition at line 27 of file OAuthConsumer.php.
Referenced by OAuthConsumer\__construct().