@@ -437,7 +437,13 @@ public static function sendPassiveResponse(array $state): void
437437 $ attributes = $ state ['Attributes ' ];
438438 $ nameid = $ state ['saml:NameID ' ][SAML2_C ::NAMEID_UNSPECIFIED ];
439439
440- $ assertion = ADFS ::generatePassiveAssertion ($ idpEntityId , $ spEntityId , $ nameid ->getValue (), $ attributes , $ assertionLifetime );
440+ $ assertion = ADFS ::generatePassiveAssertion (
441+ $ idpEntityId ,
442+ $ spEntityId ,
443+ $ nameid ->getValue (),
444+ $ attributes ,
445+ $ assertionLifetime ,
446+ );
441447
442448 $ privateKeyCfg = $ idpMetadata ->getOptionalString ('privatekey ' , null );
443449 $ certificateCfg = $ idpMetadata ->getOptionalString ('certificate ' , null );
@@ -567,7 +573,14 @@ public static function sendResponse(array $state): void
567573 $ method = C::AC_PASSWORD ;
568574 }
569575
570- $ assertion = ADFS ::generateActiveAssertion ($ idpEntityId , $ spEntityId , $ nameid , $ attributes , $ assertionLifetime , $ method );
576+ $ assertion = ADFS ::generateActiveAssertion (
577+ $ idpEntityId ,
578+ $ spEntityId ,
579+ $ nameid ,
580+ $ attributes ,
581+ $ assertionLifetime ,
582+ $ method ,
583+ );
571584
572585 $ privateKeyCfg = $ idpMetadata ->getOptionalString ('privatekey ' , null );
573586 $ certificateCfg = $ idpMetadata ->getOptionalString ('certificate ' , null );
@@ -658,7 +671,8 @@ public static function getLogoutURL(IdP $idp, array $association, ?string $relay
658671 $ params ['relayState ' ] = urlencode ($ relayState );
659672 }
660673 $ returnTo = Module::getModuleURL (
661- 'adfs/idp/prp.php ' , $ params
674+ 'adfs/idp/prp.php ' ,
675+ $ params ,
662676 );
663677 return $ spMetadata ->getValue ('prp ' ) . '?wa=wsignoutcleanup1.0&wreply= ' . urlencode ($ returnTo );
664678 }
0 commit comments