1services: 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 } 19