You are here

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

1 call to IdentityProviders::parseSLOService()
IdentityProviders::__construct in includes/MetadataReader.php

File

includes/MetadataReader.php, line 101

Class

IdentityProviders

Code

private function parseSLOService($xml) {
  $sloServices = Utilities::xpQuery($xml, './saml_metadata:SingleLogoutService');
  foreach ($sloServices as $sloService) {
    $binding = str_replace("urn:oasis:names:tc:SAML:2.0:bindings:", "", $sloService
      ->getAttribute('Binding'));
    $this->logoutDetails = array_merge($this->logoutDetails, array(
      $binding => $sloService
        ->getAttribute('Location'),
    ));
  }
}