You are here

function MockOAuthDataStore::new_request_token in OAuth 1.0 6

File

./OAuth_TestServer.php, line 91

Class

MockOAuthDataStore
A mock store for testing

Code

function new_request_token($consumer) {

  /*{{{*/
  if ($consumer->key == $this->consumer->key) {
    return $this->request_token;
  }
  return NULL;
}