private function IdentityProviders::parseSSOService in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 8
1 call to IdentityProviders::parseSSOService()
File
- src/
MetadataReader.php, line 89
Class
Namespace
Drupal\miniorange_samlCode
private function parseSSOService($xml) {
$ssoServices = Utilities::xpQuery($xml, './saml_metadata:SingleSignOnService');
foreach ($ssoServices as $ssoService) {
$binding = str_replace("urn:oasis:names:tc:SAML:2.0:bindings:", "", $ssoService
->getAttribute('Binding'));
$this->loginDetails = array_merge($this->loginDetails, array(
$binding => $ssoService
->getAttribute('Location'),
));
}
}