Revision: 2270
Author: olavmrk
Date: Mon Apr 26 02:09:43 2010
Log: core:IdP: Add forgotten file modules/core/www/idp/resumelogout.php
http://code.google.com/p/simplesamlphp/source/detail?r=2270

Added:
 /trunk/modules/core/www/idp/resumelogout.php

=======================================
--- /dev/null
+++ /trunk/modules/core/www/idp/resumelogout.php        Mon Apr 26 02:09:43 2010
@@ -0,0 +1,15 @@
+<?php
+
+if (!isset($_REQUEST['id'])) {
+       throw new SimpleSAML_Error_BadRequest('Missing id-parameter.');
+}
+$id = (string)$_REQUEST['id'];
+
+$state = SimpleSAML_Auth_State::loadState($id, 'core:Logout:afterbridge');
+$idp = SimpleSAML_IdP::getByState($state);
+
+$assocId = $state['core:TerminatedAssocId'];
+
+$handler = $idp->getLogoutHandler();
+$handler->startLogout($state, $assocId);
+assert('FALSE');

--
You received this message because you are subscribed to the Google Groups 
"simpleSAMLphp commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simplesamlphp-commits?hl=en.

Reply via email to