diff --git a/lib/SimpleSAML/Session.php b/lib/SimpleSAML/Session.php index 199e72f1a67829a22d094aae0f121439106964b3..daacada86c241977cf732d827c861a81a0dfc8d4 100644 --- a/lib/SimpleSAML/Session.php +++ b/lib/SimpleSAML/Session.php @@ -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. *