@@ -460,7 +460,13 @@ public static function sendPassiveResponse(array $state): void
460460 $ attributes = $ state ['Attributes ' ];
461461 $ nameid = $ state ['saml:NameID ' ][SAML2_C ::NAMEID_UNSPECIFIED ];
462462
463- $ assertion = ADFS ::generatePassiveAssertion ($ idpEntityId , $ spEntityId , $ nameid ->getValue (), $ attributes , $ assertionLifetime );
463+ $ assertion = ADFS ::generatePassiveAssertion (
464+ $ idpEntityId ,
465+ $ spEntityId ,
466+ $ nameid ->getValue (),
467+ $ attributes ,
468+ $ assertionLifetime ,
469+ );
464470
465471 $ privateKeyCfg = $ idpMetadata ->getOptionalString ('privatekey ' , null );
466472 $ certificateCfg = $ idpMetadata ->getOptionalString ('certificate ' , null );
@@ -590,7 +596,14 @@ public static function sendResponse(array $state): void
590596 $ method = C::AC_PASSWORD ;
591597 }
592598
593- $ assertion = ADFS ::generateActiveAssertion ($ idpEntityId , $ spEntityId , $ nameid , $ attributes , $ assertionLifetime , $ method );
599+ $ assertion = ADFS ::generateActiveAssertion (
600+ $ idpEntityId ,
601+ $ spEntityId ,
602+ $ nameid ,
603+ $ attributes ,
604+ $ assertionLifetime ,
605+ $ method ,
606+ );
594607
595608 $ privateKeyCfg = $ idpMetadata ->getOptionalString ('privatekey ' , null );
596609 $ certificateCfg = $ idpMetadata ->getOptionalString ('certificate ' , null );
@@ -681,7 +694,8 @@ public static function getLogoutURL(IdP $idp, array $association, ?string $relay
681694 $ params ['relayState ' ] = urlencode ($ relayState );
682695 }
683696 $ returnTo = Module::getModuleURL (
684- 'adfs/idp/prp.php ' , $ params
697+ 'adfs/idp/prp.php ' ,
698+ $ params ,
685699 );
686700 return $ spMetadata ->getValue ('prp ' ) . '?wa=wsignoutcleanup1.0&wreply= ' . urlencode ($ returnTo );
687701 }
0 commit comments