You are here

jwt.services.yml in JSON Web Token Authentication (JWT) 8.0

Same filename and directory in other branches
  1. 8 jwt.services.yml

File

jwt.services.yml
View source
  1. services:
  2. jwt.authentication.jwt:
  3. class: Drupal\jwt\Authentication\Provider\JwtAuth
  4. arguments: [ '@jwt.transcoder', '@event_dispatcher' ]
  5. tags:
  6. - { name: authentication_provider, provider_id: 'jwt_auth', global: TRUE, priority: 100 }
  7. jwt.page_cache_request_policy.disallow_jwt_auth_requests:
  8. class: Drupal\jwt\PageCache\DisallowJwtAuthRequests
  9. public: false
  10. tags:
  11. - { name: page_cache_request_policy }
  12. jwt.firebase.php-jwt:
  13. class: Firebase\JWT\JWT
  14. jwt.transcoder:
  15. class: Drupal\jwt\Transcoder\JwtTranscoder
  16. arguments: [ '@jwt.firebase.php-jwt', '@config.factory', '@key.repository' ]