This function never returns.
public doLogoutRedirect ( string $url ) | ||
$url | string | The URL the user should be returned to after logout. |
public static function receiveLogoutMessage(SimpleSAML_IdP $idp) { // if a redirect is to occur based on wreply, we will redirect to url as // this implies an override to normal sp notification. if (isset($_GET['wreply']) && !empty($_GET['wreply'])) { $idp->doLogoutRedirect(SimpleSAML_Utilities::checkURLAllowed($_GET['wreply'])); assert(FALSE); } $state = array('Responder' => array('sspmod_adfs_IdP_ADFS', 'sendLogoutResponse')); //$spEntityId = NULL; //$assocId = 'adfs:' . $spEntityId; $assocId = NULL; // TODO: verify that this is really no problem for: // a) SSP, because there's no caller SP... // b) ADFS SP because caller will be called back... $idp->handleLogoutRequest($state, $assocId); }