@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\HttpFoundation\ParameterBag; |
| 6 | 6 | use Symfony\Component\HttpFoundation\Request; |
| 7 | -use Symfony\Component\HttpFoundation\RequestStack; |
|
| 8 | 7 | |
| 9 | 8 | /** |
| 10 | 9 | * Class AuthenticationContext |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Krtv\Bundle\SingleSignOnServiceProviderBundle\Context\AuthenticationContext; |
| 6 | 6 | use Krtv\Bundle\SingleSignOnServiceProviderBundle\Context\AuthenticationContextFactory; |
| 7 | -use Symfony\Component\HttpFoundation\ParameterBag; |
|
| 8 | 7 | use Symfony\Component\HttpFoundation\Request; |
| 9 | 8 | use Symfony\Component\HttpKernel\UriSigner; |
| 10 | 9 | use Symfony\Component\Security\Http\EntryPoint\AuthenticationEntryPointInterface; |
@@ -67,7 +67,7 @@ |
||
| 67 | 67 | * @param $config |
| 68 | 68 | * @param $userProviderId |
| 69 | 69 | * @param $defaultEntryPointId |
| 70 | - * @return array |
|
| 70 | + * @return string[] |
|
| 71 | 71 | */ |
| 72 | 72 | public function create(ContainerBuilder $container, $id, $config, $userProviderId, $defaultEntryPointId) |
| 73 | 73 | { |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | { |
| 11 | 11 | /** |
| 12 | 12 | * |
| 13 | - * @param type $request |
|
| 13 | + * @param Request $request |
|
| 14 | 14 | * @return \Symfony\Component\HttpFoundation\JsonResponse |
| 15 | 15 | * @throws type |
| 16 | 16 | */ |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | |
| 4 | 4 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 5 | 5 | use Symfony\Component\HttpFoundation\Request; |
| 6 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security; |
|
| 7 | 6 | use Symfony\Component\HttpFoundation\RedirectResponse; |
| 8 | 7 | |
| 9 | 8 | class SsoAuthenticationController extends Controller |