public function getSessionIndex()
    {
        $sessionIndex = null;
        $entries = $this->_queryAssertion('/saml:AuthnStatement[@SessionIndex]');
        if ($entries->length !== 0) {
            $sessionIndex = $entries->item(0)->getAttribute('SessionIndex');
        }
        return $sessionIndex;
    }
public function getSessionIndex()
    {
        $sessionIndex = null;
        $entries = $this->_queryAssertion('/saml:AuthnStatement[@SessionIndex]');
        if ($entries->length !== 0) {
            $sessionIndex = $entries->item(0)->getAttribute('SessionIndex');
        }
        return $sessionIndex;
    }
public function getSessionIndex ( ) { $ sessionIndex = null ; $ entries = $ this -> _queryAssertion ( '/saml:AuthnStatement[@SessionIndex]' ) ; if ( $ entries -> length !== 0 ) { $ sessionIndex = $ entries -> item ( 0 ) -> getAttribute ( 'SessionIndex' ) ; } return $ sessionIndex ; }
Gets the SessionIndex from the AuthnStatement.
Could be used to be stored in the local session in order
to be used in a future Logout Request that the SP could
send to the SP, to set what specific session must be deleted

@return string|null The SessionIndex value
Gets the SessionIndex from the AuthnStatement . Could be used to be stored in the local session in order to be used in a future Logout Request that the SP could send to the SP to set what specific session must be deleted