public function JwtPathAuth::__construct in JSON Web Token Authentication (JWT) 8
Constructs a HTTP basic authentication provider object.
Parameters
\Drupal\jwt\Transcoder\JwtTranscoderInterface $transcoder: The jwt transcoder service.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity manager service.
\Drupal\Core\PageCache\ResponsePolicy\KillSwitch $killSwitch: The kill switch.
File
- modules/
jwt_path_auth/ src/ Authentication/ Provider/ JwtPathAuth.php, line 58
Class
- JwtPathAuth
- JWT Authentication Provider.
Namespace
Drupal\jwt_path_auth\Authentication\ProviderCode
public function __construct(JwtTranscoderInterface $transcoder, ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager, KillSwitch $killSwitch) {
$this->transcoder = $transcoder;
$this->configFactory = $config_factory;
$this->entityTypeManager = $entity_type_manager;
$this->killSwitch = $killSwitch;
}