You are here

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

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 $authnContextClassRef The authentication method.:

2 calls to SAML2_Assertion::setAuthnContextClassRef()
SAML2_Assertion::parseAuthnContext in src/SAML2_Assertion.php
Parse AuthnContext in AuthnStatement.
SAML2_Assertion::setAuthnContext in src/SAML2_Assertion.php

File

src/SAML2_Assertion.php, line 520

Class

SAML2_Assertion

Namespace

Drupal\miniorange_saml

Code

public function setAuthnContextClassRef($authnContextClassRef) {
  $this->authnContextClassRef = $authnContextClassRef;
}