mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-16 10:18:55 +05:30
Variable name fix
This commit is contained in:
parent
a81c486e0e
commit
85c42db355
@ -62,14 +62,14 @@ class ClientCredentials implements GrantTypeInterface {
|
|||||||
$accessTokenExpiresIn = AuthServer::getExpiresIn();
|
$accessTokenExpiresIn = AuthServer::getExpiresIn();
|
||||||
|
|
||||||
// Delete any existing sessions just to be sure
|
// Delete any existing sessions just to be sure
|
||||||
AuthServer::getStorage('session')->delete($params['client_id'], 'client', $params['client_id']);
|
AuthServer::getStorage('session')->delete($authParams['client_id'], 'client', $authParams['client_id']);
|
||||||
|
|
||||||
// Create a new session
|
// Create a new session
|
||||||
AuthServer::getStorage('session')->newSession(
|
AuthServer::getStorage('session')->newSession(
|
||||||
$params['client_id'],
|
$authParams['client_id'],
|
||||||
null,
|
null,
|
||||||
'client',
|
'client',
|
||||||
$params['client_id'],
|
$authParams['client_id'],
|
||||||
null,
|
null,
|
||||||
$accessToken,
|
$accessToken,
|
||||||
$refreshToken,
|
$refreshToken,
|
||||||
|
Loading…
Reference in New Issue
Block a user