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

View File

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