You are here

class OAuthConsumer in OAuth 1.0 6.3

Same name and namespace in other branches
  1. 6 OAuth.php \OAuthConsumer

Hierarchy

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