You are here

function SimpleOAuthDataStore::new_access_token in OAuth 1.0 6

File

./OAuth.php, line 717

Class

SimpleOAuthDataStore

Code

function new_access_token($token, $consumer) {

  /*{{{*/
  $token = $this
    ->new_token($consumer, 'access');
  dba_delete("request_" . $token->key, $this->dbh);
  return $token;
}