public function SAML2_Assertion::setAuthnContextClassRef 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 $authnContextClassRef The authentication method.:
2 calls to SAML2_Assertion::setAuthnContextClassRef()
- SAML2_Assertion::parseAuthnContext in includes/
Assertion.php - Parse AuthnContext in AuthnStatement.
- SAML2_Assertion::setAuthnContext in includes/
Assertion.php - Set the authentication method used to authenticate the user.
File
- includes/
Assertion.php, line 841
Class
Code
public function setAuthnContextClassRef($authnContextClassRef) {
//assert('is_string($authnContextClassRef) || is_null($authnContextClassRef)');
$this->authnContextClassRef = $authnContextClassRef;
}