Skip to content
Snippets Groups Projects
Commit 527aaafe authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Remove setSessionIndex() and getSessionIndex() from SimpleSAML_Session.

parent 958e6b99
No related branches found
No related tags found
No related merge requests found
...@@ -396,40 +396,6 @@ class SimpleSAML_Session { ...@@ -396,40 +396,6 @@ class SimpleSAML_Session {
} }
/**
* Set the SessionIndex we received from our IdP.
*
* @param string|NULL $sessionindex Our SessionIndex.
* @deprecated
*/
public function setSessionIndex($sessionindex) {
assert('is_string($sessionindex) || is_null($sessionindex)');
assert('isset($this->authData[$this->authority])');
SimpleSAML_Logger::debug('Library - Session: Set sessionindex: ' . $sessionindex);
$this->dirty = true;
if ($sessionindex !== NULL) {
$this->authData[$this->authority]['saml:sp:SessionIndex'] = $sessionindex;
} else {
unset($this->authData[$this->authority]['saml:sp:SessionIndex']);
}
}
/**
* Retrieve our SessionIndex.
*
* @return string|NULL Our SessionIndex.
* @deprecated
*/
public function getSessionIndex() {
if (!isset($this->authData[$this->authority]['saml:sp:SessionIndex'])) {
return NULL;
}
return $this->authData[$this->authority]['saml:sp:SessionIndex'];
}
/** /**
* Set our current NameID. * Set our current NameID.
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment