You are here

function MockOAuthDataStore::__construct in OAuth 1.0 6

File

./OAuth_TestServer.php, line 60

Class

MockOAuthDataStore
A mock store for testing

Code

function __construct() {

  /*{{{*/
  $this->consumer = new OAuthConsumer("key", "secret", NULL);
  $this->request_token = new OAuthToken("requestkey", "requestsecret", 1);
  $this->access_token = new OAuthToken("accesskey", "accesssecret", 1);
  $this->nonce = "nonce";
}