private function IdentityProviders::parseInfo in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 7
1 call to IdentityProviders::parseInfo()
- IdentityProviders::__construct in includes/
MetadataReader.php
File
- includes/
MetadataReader.php, line 81
Class
Code
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;
}
}
}