SAML2\Assertion::setAuthnContextClassRef PHP Method

setAuthnContextClassRef() public method

If this is set to null, no authentication statement will be included in the assertion. The default is null.
public setAuthnContextClassRef ( string | null $authnContextClassRef )
$authnContextClassRef string | null The authentication method.
    public function setAuthnContextClassRef($authnContextClassRef)
    {
        assert('is_string($authnContextClassRef) || is_null($authnContextClassRef)');
        $this->authnContextClassRef = $authnContextClassRef;
    }