@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | $metadata = MetaDataStorageHandler::getMetadataHandler(); |
33 | 33 | $spMetadata = $metadata->getMetaDataConfig($issuer, 'adfs-sp-remote'); |
34 | 34 | |
35 | - Logger::info('ADFS - IdP.prp: Incoming Authentication request: ' . $issuer . ' id ' . $requestid); |
|
35 | + Logger::info('ADFS - IdP.prp: Incoming Authentication request: '.$issuer.' id '.$requestid); |
|
36 | 36 | } catch (\Exception $exception) { |
37 | 37 | throw new Error\Error('PROCESSAUTHNREQUEST', $exception); |
38 | 38 | } |
@@ -347,7 +347,7 @@ discard block |
||
347 | 347 | $spEntityId = $spMetadata['entityid']; |
348 | 348 | $spMetadata = Configuration::loadFromArray( |
349 | 349 | $spMetadata, |
350 | - '$metadata[' . var_export($spEntityId, true) . ']' |
|
350 | + '$metadata['.var_export($spEntityId, true).']' |
|
351 | 351 | ); |
352 | 352 | |
353 | 353 | $attributes = $state['Attributes']; |
@@ -367,7 +367,7 @@ discard block |
||
367 | 367 | $idpEntityId = $idpMetadata->getString('entityid'); |
368 | 368 | |
369 | 369 | $idp->addAssociation([ |
370 | - 'id' => 'adfs:' . $spEntityId, |
|
370 | + 'id' => 'adfs:'.$spEntityId, |
|
371 | 371 | 'Handler' => ADFS::class, |
372 | 372 | 'adfs:entityID' => $spEntityId, |
373 | 373 | ]); |
@@ -390,7 +390,7 @@ discard block |
||
390 | 390 | $wresult = ADFS::signResponse($response, $privateKeyFile, $certificateFile, $algo, $passphrase); |
391 | 391 | |
392 | 392 | $wctx = $state['adfs:wctx']; |
393 | - $wreply = $state['adfs:wreply'] ? : $spMetadata->getValue('prp'); |
|
393 | + $wreply = $state['adfs:wreply'] ?: $spMetadata->getValue('prp'); |
|
394 | 394 | ADFS::postResponse($wreply, $wresult, $wctx); |
395 | 395 | } |
396 | 396 | |
@@ -448,8 +448,8 @@ discard block |
||
448 | 448 | $metadata = MetaDataStorageHandler::getMetadataHandler(); |
449 | 449 | $spMetadata = $metadata->getMetaDataConfig($association['adfs:entityID'], 'adfs-sp-remote'); |
450 | 450 | $returnTo = Module::getModuleURL( |
451 | - 'adfs/idp/prp.php?assocId=' . urlencode($association["id"]) . '&relayState=' . urlencode($relayState) |
|
451 | + 'adfs/idp/prp.php?assocId='.urlencode($association["id"]).'&relayState='.urlencode($relayState) |
|
452 | 452 | ); |
453 | - return $spMetadata->getValue('prp') . '?wa=wsignoutcleanup1.0&wreply=' . urlencode($returnTo); |
|
453 | + return $spMetadata->getValue('prp').'?wa=wsignoutcleanup1.0&wreply='.urlencode($returnTo); |
|
454 | 454 | } |
455 | 455 | } |