public function JwtAuth::__construct in JSON Web Token Authentication (JWT) 8
Same name and namespace in other branches
- 8.0 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 43
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;
}