public function BasicAuth::__construct in Drupal 8
Same name and namespace in other branches
- 9 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\EntityTypeManagerInterface $entity_type_manager: The entity type manager service.
File
- core/
modules/ basic_auth/ src/ Authentication/ Provider/ BasicAuth.php, line 69
Class
- BasicAuth
- HTTP Basic authentication provider.
Namespace
Drupal\basic_auth\Authentication\ProviderCode
public function __construct(ConfigFactoryInterface $config_factory, UserAuthInterface $user_auth, FloodInterface $flood, EntityTypeManagerInterface $entity_type_manager) {
$this->configFactory = $config_factory;
$this->userAuth = $user_auth;
$this->flood = $flood;
$this->entityTypeManager = $entity_type_manager;
}