Esempio n. 1
0
 /**
  * Convert the response message to an XML element.
  *
  * @return DOMElement  This response.
  */
 public function toUnsignedXML()
 {
     $root = parent::toUnsignedXML();
     foreach ($this->assertions as $assertion) {
         $node = $assertion->toXML($root);
     }
     return $root;
 }
Esempio n. 2
0
 /**
  * Convert the response message to an XML element.
  *
  * @return DOMElement  This response.
  */
 public function toUnsignedXML()
 {
     $root = parent::toUnsignedXML();
     if (isset($this->any)) {
         $node = $root->ownerDocument->importNode($this->any, TRUE);
         $root->appendChild($node);
     }
     return $root;
 }
Esempio n. 3
0
 /**
  * Convert the response message to an XML element.
  *
  * @return DOMElement This response.
  */
 public function toUnsignedXML()
 {
     $root = parent::toUnsignedXML();
     /** @var SAML2_Assertion|SAML2_EncryptedAssertion $assertion */
     foreach ($this->assertions as $assertion) {
         $assertion->toXML($root);
     }
     return $root;
 }