mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-15 17:56:14 +05:30
Dead code
This commit is contained in:
parent
a1c3746a5a
commit
7586e62da1
@ -107,9 +107,9 @@ class ClientCredentialsGrant extends AbstractGrant
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Save everything
|
// Save everything
|
||||||
$session->save($this->server->getStorage('session'));
|
$session->save();
|
||||||
$accessToken->setSession($session);
|
$accessToken->setSession($session);
|
||||||
$accessToken->save($this->server->getStorage('access_token'));
|
$accessToken->save();
|
||||||
|
|
||||||
$this->server->getTokenType()->setSession($session);
|
$this->server->getTokenType()->setSession($session);
|
||||||
$this->server->getTokenType()->setParam('access_token', $accessToken->getId());
|
$this->server->getTokenType()->setParam('access_token', $accessToken->getId());
|
||||||
|
Loading…
Reference in New Issue
Block a user