public function SamlService::getAttributes in SAML Authentication 8.2
Same name and namespace in other branches
- 8.3 src/SamlService.php \Drupal\samlauth\SamlService::getAttributes()
- 4.x src/SamlService.php \Drupal\samlauth\SamlService::getAttributes()
Returns all attributes in a SAML response.
This method will return valid data after a response is processed (i.e. after samlAuth->processResponse() is called).
Return value
array An array with all returned SAML attributes..
2 calls to SamlService::getAttributes()
- SamlService::acs in src/
SamlService.php - Processes a SAML response (Assertion Consumer Service).
- SamlService::synchronizeUserAttributes in src/
SamlService.php - Synchronizes user data with attributes in the SAML request.
File
- src/
SamlService.php, line 341
Class
- SamlService
- Governs communication between the SAML toolkit and the IDP / login behavior.
Namespace
Drupal\samlauthCode
public function getAttributes() {
return $this
->getSamlAuth()
->getAttributes();
}