public function SAML2_Assertion::setAuthnContextDeclRef in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 7
Set the authentication context declaration reference.
Parameters
string $authnContextDeclRef:
Throws
Exception
1 call to SAML2_Assertion::setAuthnContextDeclRef()
- SAML2_Assertion::parseAuthnContext in includes/
Assertion.php - Parse AuthnContext in AuthnStatement.
File
- includes/
Assertion.php, line 884
Class
Code
public function setAuthnContextDeclRef($authnContextDeclRef) {
if (!empty($this->authnContextDecl)) {
throw new Exception('AuthnContextDecl is already registered! May only have either a Decl or a DeclRef, not both!');
}
$this->authnContextDeclRef = $authnContextDeclRef;
}