@@ -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(); |