You are here

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

Set the authentication method used to authenticate the user.

If this is set to NULL, no authentication statement will be included in the assertion. The default is NULL.

Parameters

string|NULL $authnContext The authentication method.:

Deprecated

use setAuthnContextClassRef

File

includes/Assertion.php, line 815

Class

SAML2_Assertion

Code

public function setAuthnContext($authnContext) {
  $this
    ->setAuthnContextClassRef($authnContext);
}