You are here

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

Set the AuthnInstant of the assertion.

Parameters

int|NULL $authnInstant Timestamp the user was authenticated, or NULL if we don't want an AuthnStatement.:

File

includes/Assertion.php, line 722

Class

SAML2_Assertion

Code

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