You are here

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

Set the session index of the user at the IdP.

Note that the authentication context must be set before the session index can be inluded in the assertion.

Parameters

string|NULL $sessionIndex The session index of the user at the IdP.:

File

includes/Assertion.php, line 774

Class

SAML2_Assertion

Code

public function setSessionIndex($sessionIndex) {
  assert('is_string($sessionIndex) || is_null($sessionIndex)');
  $this->sessionIndex = $sessionIndex;
}