@@ -109,6 +109,9 @@ |
||
109 | 109 | $this->registerIdp($entityId, false); |
110 | 110 | } |
111 | 111 | |
112 | + /** |
|
113 | + * @param boolean $sfoEnabled |
|
114 | + */ |
|
112 | 115 | private function registerSp($entityId, $sfoEnabled) |
113 | 116 | { |
114 | 117 | $publicKeyLoader = new KeyLoader(); |
@@ -23,6 +23,10 @@ discard block |
||
23 | 23 | $this->connection = $connection; |
24 | 24 | } |
25 | 25 | |
26 | + /** |
|
27 | + * @param string $entityId |
|
28 | + * @param string $certificate |
|
29 | + */ |
|
26 | 30 | public function createSpIfNotExists($entityId, $certificate, $sfoEnabled = false) |
27 | 31 | { |
28 | 32 | // Does the SP exist? |
@@ -81,6 +85,10 @@ discard block |
||
81 | 85 | } |
82 | 86 | } |
83 | 87 | |
88 | + /** |
|
89 | + * @param string $entityId |
|
90 | + * @param string $certificate |
|
91 | + */ |
|
84 | 92 | public function createIdpIfNotExists($entityId, $certificate) |
85 | 93 | { |
86 | 94 | // Does the SP exist? |
@@ -63,6 +63,7 @@ discard block |
||
63 | 63 | /** |
64 | 64 | * @param string $destination |
65 | 65 | * @param string $nameId |
66 | + * @param string $requestId |
|
66 | 67 | * @return Response |
67 | 68 | */ |
68 | 69 | public function createResponse($destination, array $nameId, $requestId) |
@@ -157,6 +158,9 @@ discard block |
||
157 | 158 | return $assertion; |
158 | 159 | } |
159 | 160 | |
161 | + /** |
|
162 | + * @param string $destination |
|
163 | + */ |
|
160 | 164 | private function addSubjectConfirmationFor(Assertion $newAssertion, $destination, $requestId) |
161 | 165 | { |
162 | 166 | $confirmation = new SubjectConfirmation(); |
@@ -382,7 +382,6 @@ discard block |
||
382 | 382 | /** |
383 | 383 | * @Template |
384 | 384 | * @param Request $request |
385 | - * @param string $authenticationMode |
|
386 | 385 | * @return array|Response |
387 | 386 | */ |
388 | 387 | public function verifySmsSecondFactorAction(Request $request) |
@@ -441,7 +440,6 @@ discard block |
||
441 | 440 | /** |
442 | 441 | * @Template |
443 | 442 | * @param Request $request |
444 | - * @param string $authenticationMode |
|
445 | 443 | * @return array|Response |
446 | 444 | */ |
447 | 445 | public function verifySmsSecondFactorChallengeAction(Request $request) |
@@ -562,7 +560,6 @@ discard block |
||
562 | 560 | * @Template("SurfnetStepupGatewayGatewayBundle:SecondFactor:initiateU2fAuthentication.html.twig") |
563 | 561 | * |
564 | 562 | * @param Request $request |
565 | - * @param string $authenticationMode |
|
566 | 563 | * @return array|Response |
567 | 564 | */ |
568 | 565 | public function verifyU2fAuthenticationAction(Request $request) |