Skip to content

Commit

Permalink
Remove unused service from OAuth2Controller (#3601)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksip committed Apr 19, 2024
1 parent 1d9cc5a commit 1d5e242
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions module/VuFind/src/VuFind/Controller/OAuth2Controller.php
Expand Up @@ -38,7 +38,6 @@
use Laminas\ServiceManager\ServiceLocatorInterface;
use Laminas\Session\Container as SessionContainer;
use League\OAuth2\Server\Exception\OAuthServerException;
use LmcRbacMvc\Service\AuthorizationService as LmAuthorizationService;
use OpenIDConnectServer\ClaimExtractor;
use VuFind\Config\PathResolver;
use VuFind\Db\Service\AccessTokenServiceInterface;
Expand Down Expand Up @@ -90,7 +89,6 @@ class OAuth2Controller extends AbstractBase implements LoggerAwareInterface
* @param array $oauth2Config OAuth2 configuration
* @param callable $asf OAuth2 authorization server factory
* @param callable $rsf OAuth2 resource server factory
* @param LmAuthorizationService $authService Laminas authorization service
* @param CsrfInterface $csrf CSRF validator
* @param SessionContainer $session Session container
* @param IdentityRepository $identityRepository Identity repository
Expand All @@ -104,7 +102,6 @@ public function __construct(
protected array $oauth2Config,
callable $asf,
callable $rsf,
protected LmAuthorizationService $authService,
protected CsrfInterface $csrf,
protected \Laminas\Session\Container $session,
protected IdentityRepository $identityRepository,
Expand Down
Expand Up @@ -137,7 +137,6 @@ public function __invoke(
$this->oauth2Config,
$this->getAuthorizationServerFactory(),
$this->getResourceServerFactory(),
$container->get(\LmcRbacMvc\Service\AuthorizationService::class),
$container->get(\VuFind\Validator\CsrfInterface::class),
$session,
$container->get(IdentityRepository::class),
Expand Down

0 comments on commit 1d5e242

Please sign in to comment.