services:
  autologout_event_subscriber:
    class: Drupal\autologout\EventSubscriber\AutologoutSubscriber
    tags:
      - {name: event_subscriber}
    arguments: ['@autologout.manager', '@current_user', '@config.factory','@theme.manager','@datetime.time', '@request_stack', '@language_manager']

  autologout.manager:
    class: Drupal\autologout\AutologoutManager
    tags:
      - {name: autologout_manager}
    arguments: ['@module_handler', '@config.factory', '@messenger', '@current_user', '@logger.factory', '@session_manager', '@user.data', '@datetime.time', '@entity_type.manager', '@request_stack']
