You are here

samlauth.services.yml in SAML Authentication 8.3

File

samlauth.services.yml
View source
  1. services:
  2. logger.channel.samlauth:
  3. parent: logger.channel_base
  4. arguments: ['samlauth']
  5. samlauth.saml:
  6. class: Drupal\samlauth\SamlService
  7. arguments: ['@externalauth.externalauth', '@externalauth.authmap', '@config.factory', '@entity_type.manager', '@logger.channel.samlauth', '@event_dispatcher', '@request_stack', '@tempstore.private', '@flood', '@current_user', '@messenger', '@string_translation']
  8. calls:
  9. - [setKeyRepository, ['@?key.repository']]
  10. samlauth.event_subscriber.user_sync:
  11. class: Drupal\samlauth\EventSubscriber\UserSyncEventSubscriber
  12. arguments: ['@config.factory', '@entity_type.manager', '@typed_data_manager', '@email.validator', '@logger.channel.samlauth', '@messenger', '@string_translation']
  13. tags:
  14. - { name: event_subscriber }
  15. samlauth.event_subscriber.user_access_denied:
  16. class: Drupal\samlauth\EventSubscriber\AccessDeniedSubscriber
  17. arguments: ['@current_user']
  18. tags:
  19. - { name: event_subscriber }