You are here

oauth.services.yml in OAuth 1.0 8.2

Same filename and directory in other branches
  1. 8 oauth.services.yml

File

oauth.services.yml
View source
  1. services:
  2. authentication.oauth:
  3. class: 'Drupal\oauth\Authentication\Provider\OAuthDrupalProvider'
  4. arguments: ['@user.data', '@logger.channel.oauth']
  5. tags:
  6. - { name: 'authentication_provider', provider_id: oauth, priority: 100 }
  7. logger.channel.oauth:
  8. parent: 'logger.channel_base'
  9. arguments: ['oauth']
  10. oauth.access_checker:
  11. class: Drupal\oauth\Access\CustomAccessCheck
  12. arguments: ['@current_user']
  13. tags:
  14. - { name: access_check, applies_to: _oauth_access_check }
  15. oauth.page_cache_request_policy.disallow_oauth_requests:
  16. class: Drupal\oauth\PageCache\DisallowOauthRequests
  17. public: false
  18. tags:
  19. - { name: page_cache_request_policy }