@@ -124,7 +124,7 @@ |
||
124 | 124 | * @param Request $request original request |
125 | 125 | * @param AuthenticationException $exception exception from auth attempt |
126 | 126 | * |
127 | - * @return Response|null |
|
127 | + * @return Response |
|
128 | 128 | */ |
129 | 129 | public function onAuthenticationFailure(Request $request, AuthenticationException $exception) |
130 | 130 | { |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use Graviton\SecurityBundle\Authentication\Strategies\StrategyInterface; |
9 | 9 | use Graviton\SecurityBundle\Authentication\Provider\AirlockAuthenticationKeyUserProvider; |
10 | 10 | use Psr\Log\LoggerInterface; |
11 | -use Symfony\Component\HttpFoundation\HeaderBag; |
|
12 | 11 | use Symfony\Component\HttpFoundation\Request; |
13 | 12 | use Symfony\Component\HttpFoundation\Response; |
14 | 13 | use Symfony\Component\Security\Core\Authentication\SimplePreAuthenticatorInterface as SimplePreAuthInterface; |
@@ -6,7 +6,6 @@ |
||
6 | 6 | namespace Graviton\SecurityBundle\Authentication\Provider; |
7 | 7 | |
8 | 8 | use Graviton\SecurityBundle\Entities\SecurityConsultant; |
9 | -use Graviton\SecurityBundle\Entities\SecurityContract; |
|
10 | 9 | use GravitonDyn\ContractBundle\Document\Contract; |
11 | 10 | use \Graviton\RestBundle\Model\ModelInterface; |
12 | 11 | use Symfony\Component\Security\Core\Exception\UnsupportedUserException; |