Version 1
[yaffs-website] / web / core / modules / basic_auth / basic_auth.services.yml
diff --git a/web/core/modules/basic_auth/basic_auth.services.yml b/web/core/modules/basic_auth/basic_auth.services.yml
new file mode 100644 (file)
index 0000000..be85ccc
--- /dev/null
@@ -0,0 +1,11 @@
+services:
+  basic_auth.authentication.basic_auth:
+    class: Drupal\basic_auth\Authentication\Provider\BasicAuth
+    arguments: ['@config.factory', '@user.auth', '@flood', '@entity.manager']
+    tags:
+      - { name: authentication_provider, provider_id: 'basic_auth', priority: 100 }
+  basic_auth.page_cache_request_policy.disallow_basic_auth_requests:
+      class: Drupal\basic_auth\PageCache\DisallowBasicAuthRequests
+      public: false
+      tags:
+        - { name: page_cache_request_policy }