public function KnownClientsRepository::__construct in Simple OAuth (OAuth2) & OpenID Connect 8.4
Same name and namespace in other branches
- 8.3 src/KnownClientsRepository.php \Drupal\simple_oauth\KnownClientsRepository::__construct()
- 5.x 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_oauthCode
public function __construct(UserDataInterface $user_data) {
$this->userData = $user_data;
}