Get scopes by access token instead of session ID

This commit is contained in:
Alex Bilbie 2013-05-05 18:14:27 +01:00
parent 10d7d3cb3d
commit 90508a191d

View File

@ -177,7 +177,7 @@ class ResourceServer
$this->ownerType = $result['owner_type'];
$this->ownerId = $result['owner_id'];
$this->sessionScopes = $this->storages['session']->getScopes($this->sessionId);
$this->sessionScopes = $this->storages['session']->getScopes($this->accessToken);
return true;
}