The output of Server::verifyToken is now a hash.

This commit is contained in:
Jacob Kiers 2013-02-15 12:09:56 +00:00
parent 097b0af7b4
commit 6677c1da7d
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ class Server
$consumer = $this->getConsumer($request);
$token = $this->getToken($request, $consumer, 'access');
$this->checkSignature($request, $consumer, $token);
return array($consumer, $token);
return array('consumer' => $consumer, 'token' => $token);
}
// Internals from here