You are here

private function IdentityProviders::parseInfo in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 8

1 call to IdentityProviders::parseInfo()
IdentityProviders::__construct in src/MetadataReader.php

File

src/MetadataReader.php, line 80

Class

IdentityProviders

Namespace

Drupal\miniorange_saml

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;
    }
  }
}