public function ApiKeyAuth::__construct in Services API Key Authentication 2.0.x
Same name and namespace in other branches
- 8.2 src/Authentication/Provider/ApiKeyAuth.php \Drupal\services_api_key_auth\Authentication\Provider\ApiKeyAuth::__construct()
- 8 src/Authentication/Provider/ApiKeyAuth.php \Drupal\services_api_key_auth\Authentication\Provider\ApiKeyAuth::__construct()
- 3.0.x src/Authentication/Provider/ApiKeyAuth.php \Drupal\services_api_key_auth\Authentication\Provider\ApiKeyAuth::__construct()
Constructs a HTTP basic authentication provider object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity manager service.
File
- src/
Authentication/ Provider/ ApiKeyAuth.php, line 46
Class
- ApiKeyAuth
- HTTP Basic authentication provider.
Namespace
Drupal\services_api_key_auth\Authentication\ProviderCode
public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager) {
$this->configFactory = $config_factory;
$this->entityTypeManager = $entity_type_manager;
}