You are here

public function BasicAuth::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/basic_auth/src/Authentication/Provider/BasicAuth.php \Drupal\basic_auth\Authentication\Provider\BasicAuth::__construct()

Constructs a HTTP basic authentication provider object.

Parameters

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

\Drupal\user\UserAuthInterface $user_auth: The user authentication service.

\Drupal\Core\Flood\FloodInterface $flood: The flood service.

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

File

core/modules/basic_auth/src/Authentication/Provider/BasicAuth.php, line 65
Contains \Drupal\basic_auth\Authentication\Provider\BasicAuth.

Class

BasicAuth
HTTP Basic authentication provider.

Namespace

Drupal\basic_auth\Authentication\Provider

Code

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