getScopes() as $scope) { if ($scope->getIdentifier() === PublicScopeRepository::OFFLINE_ACCESS) { return parent::issueRefreshToken($accessToken); } } return null; } }