Added scope to newAuthoriseRequst function

This commit is contained in:
Alex Bilbie 2012-07-06 19:25:40 +01:00
parent b4eeb7ca10
commit 9ea0d8f0e9

View File

@ -179,7 +179,7 @@ class Server
return $params; return $params;
} }
function newAuthoriseRequest(string $typeId, array $authoriseParams) public function newAuthoriseRequest(string $typeId, array $authoriseParams)
{ {
// Check if the user already has an access token // Check if the user already has an access token
$accessToken = $this->db->hasAccessToken($userId, $accessToken = $this->db->hasAccessToken($userId,