public function getSessionNotOnOrAfter()
    {
        $notOnOrAfter = null;
        $entries = $this->_queryAssertion('/saml:AuthnStatement[@SessionNotOnOrAfter]');
        if ($entries->length !== 0) {
            $notOnOrAfter = OneLogin_Saml2_Utils::parseSAML2Time($entries->item(0)->getAttribute('SessionNotOnOrAfter'));
        }
        return $notOnOrAfter;
    }
public function getSessionNotOnOrAfter()
    {
        $notOnOrAfter = null;
        $entries = $this->_queryAssertion('/saml:AuthnStatement[@SessionNotOnOrAfter]');
        if ($entries->length !== 0) {
            $notOnOrAfter = OneLogin_Saml2_Utils::parseSAML2Time($entries->item(0)->getAttribute('SessionNotOnOrAfter'));
        }
        return $notOnOrAfter;
    }
public function getSessionNotOnOrAfter ( ) { $ notOnOrAfter = null ; $ entries = $ this -> _queryAssertion ( '/saml:AuthnStatement[@SessionNotOnOrAfter]' ) ; if ( $ entries -> length !== 0 ) { $ notOnOrAfter = OneLogin_Saml2_Utils :: parseSAML2Time ( $ entries -> item ( 0 ) -> getAttribute ( 'SessionNotOnOrAfter' ) ) ; } return $ notOnOrAfter ; }
Gets the SessionNotOnOrAfter from the AuthnStatement.
Could be used to set the local session expiration

@return int|null The SessionNotOnOrAfter value

@throws Exception
Gets the SessionNotOnOrAfter from the AuthnStatement . Could be used to set the local session expiration