public function JwtAuth::__construct in JSON Web Token Authentication (JWT) 8.0
Same name and namespace in other branches
- 8 src/Authentication/Provider/JwtAuth.php \Drupal\jwt\Authentication\Provider\JwtAuth::__construct()
Constructs a HTTP basic authentication provider object.
Parameters
\Drupal\jwt\Transcoder\JwtTranscoderInterface $transcoder: The jwt transcoder service.
\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: The event dispatcher service.
File
- src/
Authentication/ Provider/ JwtAuth.php, line 44
Class
- JwtAuth
- JWT Authentication Provider.
Namespace
Drupal\jwt\Authentication\ProviderCode
public function __construct(JwtTranscoderInterface $transcoder, EventDispatcherInterface $event_dispatcher) {
$this->transcoder = $transcoder;
$this->eventDispatcher = $event_dispatcher;
}