12 lines
499 B
YAML
12 lines
499 B
YAML
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 }
|