You are here

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\samlauth

Code

public function __construct(UserDataInterface $user_data) {
  $this->user_data = $user_data;

  // @TODO: How should this be injected?
  $this->config = \Drupal::config('samlauth.authentication');
}