You are here

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

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

Constructs a ClientRepository object.

File

src/Repositories/ClientRepository.php, line 25

Class

ClientRepository

Namespace

Drupal\simple_oauth\Repositories

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, PasswordInterface $password_checker) {
  $this->entityTypeManager = $entity_type_manager;
  $this->passwordChecker = $password_checker;
}