You are here

users_jwt.services.yml in JSON Web Token Authentication (JWT) 8

modules/users_jwt/users_jwt.services.yml

File

modules/users_jwt/users_jwt.services.yml
View source
  1. services:
  2. users_jwt.authentication.jwt:
  3. class: Drupal\users_jwt\Authentication\Provider\UsersJwtAuth
  4. arguments: ['@users_jwt.key_repository', '@entity_type.manager', '@settings', '@logger.factory']
  5. tags:
  6. - { name: authentication_provider, provider_id: users_jwt_auth, global: TRUE, priority: 150 }
  7. users_jwt.page_cache_request_policy:
  8. class: Drupal\users_jwt\PageCache\UsersJwtRequestPolicy
  9. public: false
  10. tags:
  11. - { name: page_cache_request_policy }
  12. users_jwt.key_repository:
  13. class: Drupal\users_jwt\UsersJwtKeyRepository
  14. arguments: ['@user.data', '@users_jwt.memory_cache', '@cache_tags.invalidator']
  15. users_jwt.memory_cache:
  16. class: Drupal\Core\Cache\MemoryCache\MemoryCache