public function XMLSecurityDSig::getRefNodeID in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 8
Parameters
DOMNode $refNode:
Return value
null
1 call to XMLSecurityDSig::getRefNodeID()
File
- src/
XMLSecurityKey.php, line 1212
Class
Namespace
Drupal\miniorange_samlCode
public function getRefNodeID($refNode) {
if ($uri = $refNode
->getAttribute("URI")) {
$arUrl = parse_url($uri);
if (empty($arUrl['path'])) {
if ($identifier = $arUrl['fragment']) {
return $identifier;
}
}
}
return null;
}