mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
Pass the token instead of string
This commit is contained in:
@@ -46,7 +46,7 @@ class RefreshToken extends AbstractToken
|
||||
public function getAccessToken()
|
||||
{
|
||||
if (! $this->accessToken instanceof AccessToken) {
|
||||
$this->accessToken = $this->server->getStorage('access_token')->getByRefreshToken($this->getToken());
|
||||
$this->accessToken = $this->server->getStorage('access_token')->getByRefreshToken($this);
|
||||
}
|
||||
return $this->accessToken;
|
||||
}
|
||||
|
Reference in New Issue
Block a user