src/SAML2/Assertion.php 1 location
|
@@ 342-344 (lines=3) @@
|
| 339 |
|
if ($node instanceof \DOMText) { |
| 340 |
|
continue; |
| 341 |
|
} |
| 342 |
|
if ($node->namespaceURI !== Constants::NS_SAML) { |
| 343 |
|
throw new \Exception('Unknown namespace of condition: ' . var_export($node->namespaceURI, true)); |
| 344 |
|
} |
| 345 |
|
switch ($node->localName) { |
| 346 |
|
case 'AudienceRestriction': |
| 347 |
|
$audiences = Utils::extractStrings($node, Constants::NS_SAML, 'Audience'); |
src/SAML2/Message.php 1 location
|
@@ 529-531 (lines=3) @@
|
| 526 |
|
*/ |
| 527 |
|
public static function fromXML(\DOMElement $xml) |
| 528 |
|
{ |
| 529 |
|
if ($xml->namespaceURI !== Constants::NS_SAMLP) { |
| 530 |
|
throw new \Exception('Unknown namespace of SAML message: ' . var_export($xml->namespaceURI, true)); |
| 531 |
|
} |
| 532 |
|
|
| 533 |
|
switch ($xml->localName) { |
| 534 |
|
case 'AttributeQuery': |