1id: entity.user
2plugin_id: 'entity:user'
3granularity: method
4configuration:
5  GET:
6    supported_formats:
7      - hal_json
8    supported_auth:
9      - basic_auth
10      # This resource has a method-specific authentication.
11      # @see \Drupal\rest\Tests\Update\ResourceGranularityUpdateTest
12      - oauth
13  POST:
14    supported_formats:
15      - hal_json
16    supported_auth:
17      - basic_auth
18  PATCH:
19    supported_formats:
20      - hal_json
21    supported_auth:
22      - basic_auth
23  DELETE:
24    supported_formats:
25      - hal_json
26    supported_auth:
27      - basic_auth
28dependencies:
29  module:
30    - node
31    - basic_auth
32    - hal
33