@@ -61,7 +61,7 @@ |
||
61 | 61 | * @throws \RuntimeException |
62 | 62 | * @throws \Symfony\Component\Security\Core\Exception\AuthenticationException |
63 | 63 | * @throws \InvalidArgumentException if cannot manage the Request |
64 | - * @return \Symfony\Component\HttpFoundation\RedirectResponse|SamlSpInfo |
|
64 | + * @return SamlSpInfo |
|
65 | 65 | */ |
66 | 66 | public function manage(Request $request) |
67 | 67 | { |
@@ -61,7 +61,7 @@ |
||
61 | 61 | /** |
62 | 62 | * @param \Symfony\Component\HttpFoundation\Request $request |
63 | 63 | * @throws \InvalidArgumentException if cannot manage the Request |
64 | - * @return \Symfony\Component\HttpFoundation\Response|SamlSpInfo |
|
64 | + * @return Response |
|
65 | 65 | */ |
66 | 66 | public function manage(Request $request) |
67 | 67 | { |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace AerialShip\SamlSPBundle\Bridge; |
4 | 4 | |
5 | -use AerialShip\LightSaml\Binding\HttpRedirect; |
|
6 | 5 | use AerialShip\LightSaml\Meta\AuthnRequestBuilder; |
7 | 6 | use AerialShip\SamlSPBundle\Config\ServiceInfoCollection; |
8 | 7 | use AerialShip\SamlSPBundle\RelyingParty\RelyingPartyInterface; |
@@ -50,7 +50,7 @@ |
||
50 | 50 | * @param \Symfony\Component\HttpFoundation\Request $request |
51 | 51 | * @throws \RuntimeException |
52 | 52 | * @throws \InvalidArgumentException if cannot manage the Request |
53 | - * @return \Symfony\Component\HttpFoundation\Response|SamlSpInfo |
|
53 | + * @return Response |
|
54 | 54 | */ |
55 | 55 | public function manage(Request $request) |
56 | 56 | { |
@@ -44,7 +44,7 @@ |
||
44 | 44 | /** |
45 | 45 | * @param \Symfony\Component\HttpFoundation\Request $request |
46 | 46 | * @throws \Symfony\Component\Process\Exception\RuntimeException |
47 | - * @return \Symfony\Component\HttpFoundation\Response|SamlSpInfo |
|
47 | + * @return Response |
|
48 | 48 | */ |
49 | 49 | function manage(Request $request) |
50 | 50 | { |
@@ -35,7 +35,7 @@ |
||
35 | 35 | /** |
36 | 36 | * @param \Symfony\Component\HttpFoundation\Request $request |
37 | 37 | * @throws \InvalidArgumentException if cannot manage the Request |
38 | - * @return \Symfony\Component\HttpFoundation\Response|SamlSpInfo|null |
|
38 | + * @return \Symfony\Component\HttpFoundation\RedirectResponse |
|
39 | 39 | */ |
40 | 40 | public function manage(Request $request) |
41 | 41 | { |
@@ -70,7 +70,7 @@ |
||
70 | 70 | * @param \Symfony\Component\HttpFoundation\Request $request |
71 | 71 | * @throws \RuntimeException |
72 | 72 | * @throws \InvalidArgumentException if cannot manage the Request |
73 | - * @return \Symfony\Component\HttpFoundation\Response|SamlSpInfo|null |
|
73 | + * @return \Symfony\Component\HttpFoundation\RedirectResponse |
|
74 | 74 | */ |
75 | 75 | public function manage(Request $request) |
76 | 76 | { |
@@ -69,7 +69,7 @@ |
||
69 | 69 | * @param \Symfony\Component\HttpFoundation\Request $request |
70 | 70 | * @throws \RuntimeException if no signing provider set |
71 | 71 | * @throws \InvalidArgumentException if cannot manage the Request |
72 | - * @return \Symfony\Component\HttpFoundation\Response|SamlSpInfo |
|
72 | + * @return Response |
|
73 | 73 | */ |
74 | 74 | function manage(Request $request) |
75 | 75 | { |
@@ -42,6 +42,11 @@ |
||
42 | 42 | |
43 | 43 | |
44 | 44 | |
45 | + /** |
|
46 | + * @param string $authenticationServiceID |
|
47 | + * @param string $checkPath |
|
48 | + * @param string $logoutPath |
|
49 | + */ |
|
45 | 50 | public function __construct( |
46 | 51 | $authenticationServiceID, |
47 | 52 | SPSigningProviderInterface $signingProvider, |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace AerialShip\SamlSPBundle\DependencyInjection; |
4 | 4 | |
5 | -use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; |
|
6 | 5 | use Symfony\Component\Config\FileLocator; |
7 | 6 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
8 | 7 | use Symfony\Component\DependencyInjection\Loader\YamlFileLoader; |