class OAuthConsumer in OAuth 1.0 6.3
Same name and namespace in other branches
- 6 OAuth.php \OAuthConsumer
Hierarchy
- class \OAuthConsumer
Expanded class hierarchy of OAuthConsumer
File
- lib/
OAuth.php, line 20 - OAuth 1.0 server and client library.
View source
class OAuthConsumer {
public $key;
public $secret;
function __construct($key, $secret, $callback_url = NULL) {
$this->key = $key;
$this->secret = $secret;
$this->callback_url = $callback_url;
}
function __toString() {
return "OAuthConsumer[key={$this->key},secret={$this->secret}]";
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
OAuthConsumer:: |
public | property | ||
OAuthConsumer:: |
public | property | ||
OAuthConsumer:: |
function | 1 | ||
OAuthConsumer:: |
function |