@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | ]; |
| 122 | 122 | } |
| 123 | 123 | |
| 124 | - $adfs_service_location = Module::getModuleURL('adfs') . '/idp/prp.php'; |
|
| 124 | + $adfs_service_location = Module::getModuleURL('adfs').'/idp/prp.php'; |
|
| 125 | 125 | $metaArray = [ |
| 126 | 126 | 'metadata-set' => 'adfs-idp-remote', |
| 127 | 127 | 'entityid' => $idpentityid, |
@@ -183,7 +183,7 @@ discard block |
||
| 183 | 183 | $metaArray['RegistrationInfo'] = $idpmeta->getArray('RegistrationInfo'); |
| 184 | 184 | } |
| 185 | 185 | |
| 186 | - $metaflat = '$metadata[' . var_export($idpentityid, true) . '] = ' . var_export($metaArray, true) . ';'; |
|
| 186 | + $metaflat = '$metadata['.var_export($idpentityid, true).'] = '.var_export($metaArray, true).';'; |
|
| 187 | 187 | |
| 188 | 188 | $metaBuilder = new Metadata\SAMLBuilder($idpentityid); |
| 189 | 189 | $metaBuilder->addSecurityTokenServiceType($metaArray); |
@@ -213,8 +213,8 @@ discard block |
||
| 213 | 213 | $certdata = []; |
| 214 | 214 | foreach (array_keys($availableCerts) as $availableCert) { |
| 215 | 215 | $certdata[$availableCert]['name'] = $availableCert; |
| 216 | - $certdata[$availableCert]['url'] = Module::getModuleURL('saml/idp/certs.php') . |
|
| 217 | - '/' . $availableCert; |
|
| 216 | + $certdata[$availableCert]['url'] = Module::getModuleURL('saml/idp/certs.php'). |
|
| 217 | + '/'.$availableCert; |
|
| 218 | 218 | |
| 219 | 219 | $certdata[$availableCert]['comment'] = ''; |
| 220 | 220 | } |
@@ -256,13 +256,13 @@ discard block |
||
| 256 | 256 | Logger::info('ADFS - IdP.prp: Accessing ADFS IdP endpoint prp'); |
| 257 | 257 | |
| 258 | 258 | $idpEntityId = $this->metadata->getMetaDataCurrentEntityID('adfs-idp-hosted'); |
| 259 | - $idp = IdP::getById('adfs:' . $idpEntityId); |
|
| 259 | + $idp = IdP::getById('adfs:'.$idpEntityId); |
|
| 260 | 260 | |
| 261 | 261 | if ($request->query->has('wa')) { |
| 262 | 262 | $wa = $request->query->get('wa'); |
| 263 | 263 | if ($wa === 'wsignout1.0') { |
| 264 | 264 | return new StreamedResponse( |
| 265 | - function () use ($idp) { |
|
| 265 | + function() use ($idp) { |
|
| 266 | 266 | ADFS_IDP::receiveLogoutMessage($idp); |
| 267 | 267 | } |
| 268 | 268 | ); |
@@ -280,7 +280,7 @@ discard block |
||
| 280 | 280 | $logoutError = null; |
| 281 | 281 | |
| 282 | 282 | return new StreamedResponse( |
| 283 | - function () use ($idp, /** @scrutinizer ignore-type */ $assocId, $relayState, $logoutError) { |
|
| 283 | + function() use ($idp, /** @scrutinizer ignore-type */ $assocId, $relayState, $logoutError) { |
|
| 284 | 284 | $idp->handleLogoutResponse($assocId, $relayState, $logoutError); |
| 285 | 285 | } |
| 286 | 286 | ); |