You are here

public function SAML2_Assertion::setSessionNotOnOrAfter in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 7

Set the session expiration timestamp.

Set this to NULL if no limit is required.

Parameters

int|NULL $sessionNotOnOrAfter The latest timestamp this session is valid.:

File

includes/Assertion.php, line 749

Class

SAML2_Assertion

Code

public function setSessionNotOnOrAfter($sessionNotOnOrAfter) {
  assert('is_int($sessionNotOnOrAfter) || is_null($sessionNotOnOrAfter)');
  $this->sessionNotOnOrAfter = $sessionNotOnOrAfter;
}