The output of Server::verifyToken is now a hash.
This commit is contained in:
parent
097b0af7b4
commit
6677c1da7d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user