@@ -17,14 +17,11 @@ discard block |
||
17 | 17 | use Graviton\SecurityBundle\Entities\SecurityUser; |
18 | 18 | use Graviton\SecurityBundle\Service\SecurityUtils; |
19 | 19 | use Symfony\Component\Security\Core\Exception\UsernameNotFoundException; |
20 | -use Symfony\Component\Security\Core\User\UserInterface; |
|
21 | 20 | use Symfony\Component\DependencyInjection\ContainerInterface; |
22 | 21 | use Symfony\Component\HttpFoundation\Request; |
23 | 22 | use Symfony\Component\HttpFoundation\Response; |
24 | -use Symfony\Component\HttpKernel\Exception\PreconditionRequiredHttpException; |
|
25 | 23 | use Symfony\Component\Routing\Exception\RouteNotFoundException; |
26 | 24 | use Symfony\Bundle\FrameworkBundle\Routing\Router; |
27 | -use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage; |
|
28 | 25 | use Symfony\Bundle\FrameworkBundle\Templating\EngineInterface; |
29 | 26 | use Rs\Json\Patch; |
30 | 27 | use Rs\Json\Patch\InvalidPatchDocumentJsonException; |
@@ -32,7 +29,6 @@ discard block |
||
32 | 29 | use Rs\Json\Patch\InvalidOperationException; |
33 | 30 | use Rs\Json\Patch\FailedTestException; |
34 | 31 | use Graviton\RestBundle\Service\JsonPatchValidator; |
35 | -use Symfony\Component\Security\Core\Authentication\Token\PreAuthenticatedToken; |
|
36 | 32 | |
37 | 33 | /** |
38 | 34 | * This is a basic rest controller. It should fit the most needs but if you need to add some |