You are here

rest_test.services.yml in Drupal 10

core/modules/rest/tests/modules/rest_test/rest_test.services.yml

File

core/modules/rest/tests/modules/rest_test/rest_test.services.yml
View source
  1. services:
  2. rest_test.authentication.test_auth:
  3. class: Drupal\rest_test\Authentication\Provider\TestAuth
  4. tags:
  5. - { name: authentication_provider, provider_id: 'rest_test_auth' }
  6. rest_test.authentication.test_auth_global:
  7. class: Drupal\rest_test\Authentication\Provider\TestAuthGlobal
  8. tags:
  9. - { name: authentication_provider, provider_id: 'rest_test_auth_global', global: TRUE }
  10. rest_test.page_cache_request_policy.deny_test_auth_requests:
  11. class: Drupal\rest_test\PageCache\RequestPolicy\DenyTestAuthRequests
  12. public: false
  13. tags:
  14. - { name: page_cache_request_policy }
  15. rest_test.encoder.foobar:
  16. class: Drupal\serialization\Encoder\JsonEncoder
  17. tags:
  18. - { name: encoder, format: foobar }