You are here

persistent_login.services.yml in Persistent Login 8

File

persistent_login.services.yml
View source
  1. services:
  2. logger.channel.persistent_login:
  3. parent: logger.channel_base
  4. arguments: ['persistent_login']
  5. persistent_login.cookie_helper:
  6. class: Drupal\persistent_login\CookieHelper
  7. arguments: ['@session_configuration', '@config.factory']
  8. persistent_login.token_manager:
  9. class: Drupal\persistent_login\TokenManager
  10. arguments: ['@database', '@config.factory', '@csrf_token', '@logger.channel.persistent_login', '@datetime.time']
  11. persistent_login.token_handler:
  12. class: Drupal\persistent_login\EventSubscriber\TokenHandler
  13. arguments: ['@persistent_login.token_manager', '@persistent_login.cookie_helper', '@session_configuration', '@entity_type.manager']
  14. tags:
  15. - { name: event_subscriber }
  16. persistent_login.page_cache_request_policy.pending_persistent_login:
  17. class: Drupal\persistent_login\PageCache\RequestPolicy\PendingPersistentLogin
  18. arguments: ['@persistent_login.cookie_helper', '@session_configuration']
  19. tags:
  20. - { name: page_cache_request_policy }