src/SAML2/Assertion.php 1 location
|
@@ 347-349 (lines=3) @@
|
| 344 |
|
if ($node instanceof \DOMText) { |
| 345 |
|
continue; |
| 346 |
|
} |
| 347 |
|
if ($node->namespaceURI !== Constants::NS_SAML) { |
| 348 |
|
throw new \Exception('Unknown namespace of condition: ' . var_export($node->namespaceURI, true)); |
| 349 |
|
} |
| 350 |
|
switch ($node->localName) { |
| 351 |
|
case 'AudienceRestriction': |
| 352 |
|
$audiences = Utils::extractStrings($node, Constants::NS_SAML, 'Audience'); |
src/SAML2/Message.php 1 location
|
@@ 538-540 (lines=3) @@
|
| 535 |
|
*/ |
| 536 |
|
public static function fromXML(\DOMElement $xml) |
| 537 |
|
{ |
| 538 |
|
if ($xml->namespaceURI !== Constants::NS_SAMLP) { |
| 539 |
|
throw new \Exception('Unknown namespace of SAML message: ' . var_export($xml->namespaceURI, true)); |
| 540 |
|
} |
| 541 |
|
|
| 542 |
|
switch ($xml->localName) { |
| 543 |
|
case 'AttributeQuery': |