You are here

public function SimpleOauthAuthenticationProvider::__construct in Simple OAuth (OAuth2) & OpenID Connect 8

Same name and namespace in other branches
  1. 8.4 src/Authentication/Provider/SimpleOauthAuthenticationProvider.php \Drupal\simple_oauth\Authentication\Provider\SimpleOauthAuthenticationProvider::__construct()
  2. 8.2 src/Authentication/Provider/SimpleOauthAuthenticationProvider.php \Drupal\simple_oauth\Authentication\Provider\SimpleOauthAuthenticationProvider::__construct()
  3. 8.3 src/Authentication/Provider/SimpleOauthAuthenticationProvider.php \Drupal\simple_oauth\Authentication\Provider\SimpleOauthAuthenticationProvider::__construct()
  4. 5.x src/Authentication/Provider/SimpleOauthAuthenticationProvider.php \Drupal\simple_oauth\Authentication\Provider\SimpleOauthAuthenticationProvider::__construct()

Constructs a HTTP basic authentication provider object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager service.

File

src/Authentication/Provider/SimpleOauthAuthenticationProvider.php, line 37

Class

SimpleOauthAuthenticationProvider
Class SimpleOauthAuthenticationProvider.

Namespace

Drupal\simple_oauth\Authentication\Provider

Code

public function __construct(ConfigFactoryInterface $config_factory, EntityManagerInterface $entity_manager) {
  $this->configFactory = $config_factory;
  $this->entityManager = $entity_manager;
}