public BasicAuth::__construct(ConfigFactoryInterface $config_factory, UserAuthInterface $user_auth, FloodInterface $flood, EntityManagerInterface $entity_manager)
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 60
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;
}
Please login to continue.