24 parent::__construct(
'ArtifactResponse',
$xml);
27 $status = Utils::xpQuery(
$xml,
'./saml_protocol:Status');
28 assert(!empty($status));
32 for ($any = $status->nextSibling; $any !==
null; $any = $any->nextSibling) {
33 if ($any instanceof \DOMElement) {
42 public function setAny(\DOMElement $any =
null)
59 $root = parent::toUnsignedXML();
60 if (isset($this->any)) {
61 $node = $root->ownerDocument->importNode($this->any,
true);
62 $root->appendChild($node);
An exception for terminatinating execution or to throw for unit testing.
toUnsignedXML()
Convert the response message to an XML element.
setAny(\DOMElement $any=null)
__construct(\DOMElement $xml=null)