src/SAML2/Assertion.php 1 location
|
@@ 364-366 (lines=3) @@
|
| 361 |
|
if ($node instanceof \DOMText) { |
| 362 |
|
continue; |
| 363 |
|
} |
| 364 |
|
if ($node->namespaceURI !== Constants::NS_SAML) { |
| 365 |
|
throw new \Exception('Unknown namespace of condition: ' . var_export($node->namespaceURI, true)); |
| 366 |
|
} |
| 367 |
|
switch ($node->localName) { |
| 368 |
|
case 'AudienceRestriction': |
| 369 |
|
$audiences = Utils::extractStrings($node, Constants::NS_SAML, 'Audience'); |
src/SAML2/Message.php 1 location
|
@@ 564-566 (lines=3) @@
|
| 561 |
|
*/ |
| 562 |
|
public static function fromXML(\DOMElement $xml) |
| 563 |
|
{ |
| 564 |
|
if ($xml->namespaceURI !== Constants::NS_SAMLP) { |
| 565 |
|
throw new \Exception('Unknown namespace of SAML message: '.var_export($xml->namespaceURI, true)); |
| 566 |
|
} |
| 567 |
|
|
| 568 |
|
switch ($xml->localName) { |
| 569 |
|
case 'AttributeQuery': |