75 parent::__construct(
'md:IDPSSODescriptor',
$xml);
92 $this->AssertionIDRequestService[] =
new EndpointType($ep);
110 assert(is_null($this->WantAuthnRequestsSigned) || is_bool($this->WantAuthnRequestsSigned));
111 assert(is_array($this->SingleSignOnService));
112 assert(is_array($this->NameIDMappingService));
113 assert(is_array($this->AssertionIDRequestService));
114 assert(is_array($this->AttributeProfile));
117 $e = parent::toXML($parent);
119 if ($this->WantAuthnRequestsSigned ===
true) {
120 $e->setAttribute(
'WantAuthnRequestsSigned',
'true');
121 } elseif ($this->WantAuthnRequestsSigned ===
false) {
122 $e->setAttribute(
'WantAuthnRequestsSigned',
'false');
125 foreach ($this->SingleSignOnService as $ep) {
126 $ep->toXML($e,
'md:SingleSignOnService');
129 foreach ($this->NameIDMappingService as $ep) {
130 $ep->toXML($e,
'md:NameIDMappingService');
133 foreach ($this->AssertionIDRequestService as $ep) {
134 $ep->toXML($e,
'md:AssertionIDRequestService');
toXML(\DOMElement $parent)
Add this IDPSSODescriptor to an EntityDescriptor.
static extractStrings(\DOMElement $parent, $namespaceURI, $localName)
Extract strings from a set of nodes.
static addStrings(\DOMElement $parent, $namespace, $name, $localized, array $values)
Append string elements.
__construct(\DOMElement $xml=null)
Initialize an IDPSSODescriptor.
$AssertionIDRequestService
static parseBoolean(\DOMElement $node, $attributeName, $default=null)
Parse a boolean attribute.
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.