You are here

public static function JwtAuthIssuerSubscriber::getSubscribedEvents in JSON Web Token Authentication (JWT) 8

Same name and namespace in other branches
  1. 8.0 modules/jwt_auth_issuer/src/EventSubscriber/JwtAuthIssuerSubscriber.php \Drupal\jwt_auth_issuer\EventSubscriber\JwtAuthIssuerSubscriber::getSubscribedEvents()

File

modules/jwt_auth_issuer/src/EventSubscriber/JwtAuthIssuerSubscriber.php, line 37

Class

JwtAuthIssuerSubscriber
Class JwtAuthIssuerSubscriber.

Namespace

Drupal\jwt_auth_issuer\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[JwtAuthEvents::GENERATE][] = [
    'setStandardClaims',
    100,
  ];
  $events[JwtAuthEvents::GENERATE][] = [
    'setDrupalClaims',
    99,
  ];
  return $events;
}