Skip to content

Commit

Permalink
fix AbstractRefreshAccessTokenListener
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonid I. committed Dec 7, 2024
1 parent 87c8501 commit 3102a1d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

use HWI\Bundle\OAuthBundle\OAuth\ResourceOwner\GenericOAuth2ResourceOwner;
use HWI\Bundle\OAuthBundle\Security\Core\Authentication\Token\OAuthToken;
use HWI\Bundle\OAuthBundle\Security\Http\ResourceOwnerMap;
use HWI\Bundle\OAuthBundle\Security\Http\ResourceOwnerMapInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpKernel\Event\RequestEvent;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
Expand All @@ -24,7 +24,7 @@ abstract class AbstractRefreshAccessTokenListener extends AbstractListener
{
protected TokenStorageInterface $tokenStorage;

protected ResourceOwnerMap $resourceOwnerMap;
protected ResourceOwnerMapInterface $resourceOwnerMap;

protected bool $enabled = false;

Expand All @@ -33,7 +33,7 @@ public function setTokenStorage(TokenStorageInterface $tokenStorage)
$this->tokenStorage = $tokenStorage;
}

public function setResourceOwnerMap(ResourceOwnerMap $resourceOwnerMap)
public function setResourceOwnerMap(ResourceOwnerMapInterface $resourceOwnerMap)
{
$this->resourceOwnerMap = $resourceOwnerMap;
}
Expand Down

0 comments on commit 3102a1d

Please sign in to comment.