![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mautic.corals.io/vendor/litesaml/lightsaml/src/Model/Protocol/ |
<?php namespace LightSaml\Model\Protocol; use LightSaml\Model\Context\DeserializationContext; use LightSaml\Model\Context\SerializationContext; use LightSaml\SamlConstants; class LogoutResponse extends StatusResponse { public function serialize(\DOMNode $parent, SerializationContext $context) { $result = $this->createElement('samlp:LogoutResponse', SamlConstants::NS_PROTOCOL, $parent, $context); parent::serialize($result, $context); // must be done here at the end and not in a base class where declared in order to include signing of the elements added here $this->singleElementsToXml(['Signature'], $result, $context); } public function deserialize(\DOMNode $node, DeserializationContext $context) { $this->checkXmlNodeName($node, 'LogoutResponse', SamlConstants::NS_PROTOCOL); parent::deserialize($node, $context); } }