public static function JwtAuthConsumerSubscriber::getSubscribedEvents in JSON Web Token Authentication (JWT) 8
Same name and namespace in other branches
- 8.0 modules/jwt_auth_consumer/src/EventSubscriber/JwtAuthConsumerSubscriber.php \Drupal\jwt_auth_consumer\EventSubscriber\JwtAuthConsumerSubscriber::getSubscribedEvents()
File
- modules/
jwt_auth_consumer/ src/ EventSubscriber/ JwtAuthConsumerSubscriber.php, line 38
Class
- JwtAuthConsumerSubscriber
- Class JwtAuthConsumerSubscriber.
Namespace
Drupal\jwt_auth_consumer\EventSubscriberCode
public static function getSubscribedEvents() {
$events[JwtAuthEvents::VALIDATE][] = [
'validate',
];
$events[JwtAuthEvents::VALID][] = [
'loadUser',
];
return $events;
}