diff --git a/lib/SimpleSAML/Session.php b/lib/SimpleSAML/Session.php index daacada86c241977cf732d827c861a81a0dfc8d4..6f66c133d2a92a89ae561c08c247ad8a446b9a96 100644 --- a/lib/SimpleSAML/Session.php +++ b/lib/SimpleSAML/Session.php @@ -361,41 +361,6 @@ class SimpleSAML_Session { } - /** - * Set the IdP we are authenticated against. - * - * @param string|NULL $idp Our current IdP, or NULL if we aren't authenticated with an IdP. - * @deprecated - */ - public function setIdP($idp) { - assert('is_string($idp) || is_null($idp)'); - assert('isset($this->authData[$this->authority])'); - - SimpleSAML_Logger::debug('Library - Session: Set IdP to : ' . $idp); - $this->dirty = true; - if ($idp !== NULL) { - $this->authData[$this->authority]['saml:sp:IdP'] = $idp; - } else { - unset($this->authData[$this->authority]['saml:sp:IdP']); - } - - } - - - /** - * Retrieve the IdP we are currently authenticated against. - * - * @return string|NULL Our current IdP, or NULL if we aren't authenticated with an IdP. - * @deprecated - */ - public function getIdP() { - if (!isset($this->authData[$this->authority]['saml:sp:IdP'])) { - return NULL; - } - return $this->authData[$this->authority]['saml:sp:IdP']; - } - - /** * Set our current NameID. *