mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
PSR-2 fix
This commit is contained in:
@ -184,8 +184,7 @@ class Password implements GrantTypeInterface {
|
|||||||
$accessTokenId = $this->authServer->getStorage('session')->associateAccessToken($sessionId, $accessToken, $accessTokenExpires);
|
$accessTokenId = $this->authServer->getStorage('session')->associateAccessToken($sessionId, $accessToken, $accessTokenExpires);
|
||||||
|
|
||||||
// Associate scopes with the access token
|
// Associate scopes with the access token
|
||||||
foreach ($authParams['scopes'] as $scope)
|
foreach ($authParams['scopes'] as $scope) {
|
||||||
{
|
|
||||||
$this->authServer->getStorage('session')->associateScope($accessTokenId, $scope['id']);
|
$this->authServer->getStorage('session')->associateScope($accessTokenId, $scope['id']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user