You are here

public function KnownClientsRepository::__construct in Simple OAuth (OAuth2) & OpenID Connect 5.x

Same name and namespace in other branches
  1. 8.4 src/KnownClientsRepository.php \Drupal\simple_oauth\KnownClientsRepository::__construct()
  2. 8.3 src/KnownClientsRepository.php \Drupal\simple_oauth\KnownClientsRepository::__construct()

KnownClientsRepository constructor.

Parameters

\Drupal\user\UserDataInterface $user_data: The user data service.

File

src/KnownClientsRepository.php, line 25

Class

KnownClientsRepository
Default implementation for the known clients repository.

Namespace

Drupal\simple_oauth

Code

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