50 parent::__construct(
'md:PDPDescriptor',
$xml);
59 if (empty($this->AuthzService)) {
60 throw new \Exception(
'Must have at least one AuthzService in PDPDescriptor.');
64 $this->AssertionIDRequestService[] =
new EndpointType($ep);
78 assert(is_array($this->AuthzService));
79 assert(!empty($this->AuthzService));
80 assert(is_array($this->AssertionIDRequestService));
81 assert(is_array($this->NameIDFormat));
83 $e = parent::toXML($parent);
85 foreach ($this->AuthzService as $ep) {
86 $ep->toXML($e,
'md:AuthzService');
89 foreach ($this->AssertionIDRequestService as $ep) {
90 $ep->toXML($e,
'md:AssertionIDRequestService');
__construct(\DOMElement $xml=null)
Initialize an IDPSSODescriptor.
static extractStrings(\DOMElement $parent, $namespaceURI, $localName)
Extract strings from a set of nodes.
toXML(\DOMElement $parent)
Add this PDPDescriptor to an EntityDescriptor.
static addStrings(\DOMElement $parent, $namespace, $name, $localized, array $values)
Append string elements.
const NS_MD
The namespace for the SAML 2 metadata.
static xpQuery(\DOMNode $node, $query)
Do an XPath query on an XML node.
Create styles array
The data for the language used.
$AssertionIDRequestService