View source
- services:
- authentication.oauth:
- class: 'Drupal\oauth\Authentication\Provider\OAuthDrupalProvider'
- arguments: ['@user.data', '@logger.channel.oauth']
- tags:
- - { name: 'authentication_provider', provider_id: oauth, priority: 100 }
-
- logger.channel.oauth:
- parent: 'logger.channel_base'
- arguments: ['oauth']
-
- oauth.access_checker:
- class: Drupal\oauth\Access\CustomAccessCheck
- arguments: ['@current_user']
- tags:
- - { name: access_check, applies_to: _oauth_access_check }
-
- oauth.page_cache_request_policy.disallow_oauth_requests:
- class: Drupal\oauth\PageCache\DisallowOauthRequests
- public: false
- tags:
- - { name: page_cache_request_policy }