@@ -16,10 +16,10 @@ |
||
| 16 | 16 | use OAuth2Framework\ServerBundle\Security\Authentication\Provider\OAuth2Provider; |
| 17 | 17 | use OAuth2Framework\ServerBundle\Security\EntryPoint\OAuth2EntryPoint; |
| 18 | 18 | use OAuth2Framework\ServerBundle\Security\Firewall\OAuth2Listener; |
| 19 | +use Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory\SecurityFactoryInterface; |
|
| 19 | 20 | use Symfony\Component\DependencyInjection\ChildDefinition; |
| 20 | 21 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
| 21 | 22 | use Symfony\Component\DependencyInjection\Reference; |
| 22 | -use Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory\SecurityFactoryInterface; |
|
| 23 | 23 | use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; |
| 24 | 24 | |
| 25 | 25 | class OAuth2SecurityFactory implements SecurityFactoryInterface |
@@ -13,9 +13,9 @@ |
||
| 13 | 13 | |
| 14 | 14 | namespace OAuth2Framework\ServerBundle\Tests\TestBundle\Service; |
| 15 | 15 | |
| 16 | +use OAuth2Framework\Component\Core\UserAccount\UserAccountRepository; |
|
| 16 | 17 | use OAuth2Framework\ServerBundle\Tests\TestBundle\Entity\User; |
| 17 | 18 | use OAuth2Framework\ServerBundle\Tests\TestBundle\Entity\UserRepository; |
| 18 | -use OAuth2Framework\Component\Core\UserAccount\UserAccountRepository; |
|
| 19 | 19 | use Symfony\Component\Security\Core\Exception\UnsupportedUserException; |
| 20 | 20 | use Symfony\Component\Security\Core\Exception\UsernameNotFoundException; |
| 21 | 21 | use Symfony\Component\Security\Core\User\UserInterface; |