private function IdentityProviders::parseSLOService in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 8
1 call to IdentityProviders::parseSLOService()
File
- src/
MetadataReader.php, line 100
Class
Namespace
Drupal\miniorange_samlCode
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'),
));
}
}