oauth2_server-2.0.x-dev/oauth2_server.services.yml

oauth2_server.services.yml
services:
  oauth2_server.storage:
    class: Drupal\oauth2_server\OAuth2Storage
    arguments: ['@entity_type.manager', '@password', '@module_handler', '@config.factory', '@datetime.time', '@file_url_generator']
  authentication.oauth2_server:
    class: Drupal\oauth2_server\Authentication\Provider\OAuth2DrupalAuthProvider
    arguments: ['@entity_type.manager', '@oauth2_server.storage', '@config.factory', '@logger.factory', '@datetime.time', '@oauth2_server.oauth_helper']
    tags:
      - { name: authentication_provider, provider_id: oauth2, priority: 100 }
  oauth2_server.page_cache_request_policy.disallow_oauth2_token_requests:
    class: Drupal\oauth2_server\PageCache\DisallowOauth2Requests
    arguments: ['@authentication.oauth2_server']
    public: false
    tags:
      - { name: page_cache_request_policy }
  oauth2_server.oauth_helper:
    class: Drupal\oauth2_server\OAuth2Helper
    arguments: ['@oauth2_server.storage']

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc