You are here

oauth2_server.services.yml in OAuth2 Server 8

Same filename and directory in other branches
  1. 2.0.x oauth2_server.services.yml

File

oauth2_server.services.yml
View source
  1. services:
  2. oauth2_server.storage:
  3. class: Drupal\oauth2_server\OAuth2Storage
  4. arguments: ['@entity_type.manager', '@password', '@module_handler', '@config.factory', '@datetime.time']
  5. authentication.oauth2_server:
  6. class: Drupal\oauth2_server\Authentication\Provider\OAuth2DrupalAuthProvider
  7. arguments: ['@entity_type.manager', '@oauth2_server.storage', '@config.factory', '@logger.factory', '@datetime.time']
  8. tags:
  9. - { name: authentication_provider, provider_id: oauth2, priority: 100 }
  10. oauth2_server.page_cache_request_policy.disallow_oauth2_token_requests:
  11. class: Drupal\oauth2_server\PageCache\DisallowOauth2Requests
  12. arguments: ['@authentication.oauth2_server']
  13. public: false
  14. tags:
  15. - { name: page_cache_request_policy }