44 $association = array_pop($state[
'core:LogoutTraditional:Remaining']);
46 $this->idp->finishLogout($state);
60 $this->idp->terminateAssociation(
$id);
61 $state[
'core:Failed'] =
true;
80 $state[
'core:LogoutTraditional:Remaining'] = $this->idp->getAssociations();
103 throw new \SimpleSAML_Error_Exception(
'RelayState lost during logout.');
108 if ($error === null) {
110 $this->idp->terminateAssociation(
$assocId);
113 $error->logWarning();
114 $state[
'core:Failed'] =
true;
__construct(\SimpleSAML_IdP $idp)
TraditionalLogout constructor.
static getByState(array &$state)
Retrieve the IdP "owning" the state.
if(!array_key_exists('StateId', $_REQUEST)) $id
logoutNextSP(array &$state)
Picks the next SP and issues a logout request.
static redirectTrustedURL($url, $parameters=array())
This function redirects to the specified URL without performing any security checks.
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
startLogout(array &$state, $assocId)
Start the logout operation.
static loadState($id, $stage, $allowMissing=false)
Retrieve saved state.
onResponse($assocId, $relayState, \SimpleSAML_Error_Exception $error=null)
Continue the logout operation.
if(!isset($associations[$assocId])) $association
if(!isset($_REQUEST['association'])) $assocId
static saveState(&$state, $stage, $rawId=false)
Save the state.