You are here

public function UserRepository::__construct in Simple OAuth (OAuth2) & OpenID Connect 8.4

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

UserRepository constructor.

Parameters

\Drupal\user\UserAuthInterface $user_auth: The service to check the user authentication.

File

src/Repositories/UserRepository.php, line 24

Class

UserRepository

Namespace

Drupal\simple_oauth\Repositories

Code

public function __construct(UserAuthInterface $user_auth) {
  $this->userAuth = $user_auth;
}