@@ -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(); |
@@ -60,6 +60,7 @@ discard block |
||
60 | 60 | /** |
61 | 61 | * @param string $destination |
62 | 62 | * @param string $nameId |
63 | + * @param string $requestId |
|
63 | 64 | * @return Response |
64 | 65 | */ |
65 | 66 | public function createResponse($destination, $nameId, $requestId) |
@@ -155,6 +156,9 @@ discard block |
||
155 | 156 | return $assertion; |
156 | 157 | } |
157 | 158 | |
159 | + /** |
|
160 | + * @param string $destination |
|
161 | + */ |
|
158 | 162 | private function addSubjectConfirmationFor(Assertion $newAssertion, $destination, $requestId) |
159 | 163 | { |
160 | 164 | $confirmation = new SubjectConfirmation(); |
@@ -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? |