private function IdentityProviders::parseInfo in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 8
1 call to IdentityProviders::parseInfo()
File
- src/
MetadataReader.php, line 80
Class
Namespace
Drupal\miniorange_samlCode
private function parseInfo($xml) {
$displayNames = Utilities::xpQuery($xml, './mdui:UIInfo/mdui:DisplayName');
foreach ($displayNames as $name) {
if ($name
->hasAttribute('xml:lang') && $name
->getAttribute('xml:lang') == "en") {
$this->idpName = $name->textContent;
}
}
}