basic_auth.services.yml 499 Bytes
Newer Older
1
services:
2
  basic_auth.authentication.basic_auth:
3
    class: Drupal\basic_auth\Authentication\Provider\BasicAuth
4
    arguments: ['@config.factory', '@user.auth', '@flood', '@entity.manager']
5
    tags:
6
      - { name: authentication_provider, provider_id: 'basic_auth', priority: 100 }
7 8
  basic_auth.page_cache_request_policy.disallow_basic_auth_requests:
      class: Drupal\basic_auth\PageCache\DisallowBasicAuthRequests
9
      public: false
10 11
      tags:
        - { name: page_cache_request_policy }