public function SamlUserService::__construct in SAML Authentication 8
Constructor for SamlUserService.
Parameters
\Drupal\user\UserDataInterface $user_data:
File
- src/
SamlUserService.php, line 40 - Contains Drupal\samlauth\SamlService.
Class
- SamlUserService
- Class SamlUserService.
Namespace
Drupal\samlauthCode
public function __construct(UserDataInterface $user_data) {
$this->user_data = $user_data;
// @TODO: How should this be injected?
$this->config = \Drupal::config('samlauth.authentication');
}