public function UserRepository::__construct in Simple OAuth (OAuth2) & OpenID Connect 8.2
Same name and namespace in other branches
- 8.4 src/Repositories/UserRepository.php \Drupal\simple_oauth\Repositories\UserRepository::__construct()
- 8.3 src/Repositories/UserRepository.php \Drupal\simple_oauth\Repositories\UserRepository::__construct()
- 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 23
Class
Namespace
Drupal\simple_oauth\RepositoriesCode
public function __construct(UserAuthInterface $user_auth) {
$this->userAuth = $user_auth;
}