edspc/oauth-http-client-bundle

此包最新版本(dev-main)无可用许可证信息。

基于Symfony HTTP Client的OAuth HTTP客户端

安装: 1

依赖: 0

建议者: 0

安全性: 0

星标: 0

关注者: 1

分支: 0

开放问题: 0

类型:symfony-bundle

dev-main 2022-01-23 22:14 UTC

This package is auto-updated.

Last update: 2024-09-14 11:25:34 UTC


README

示例配置

edspc_oauth_http_client:
    default_auth: zoho
    auth:
        zoho:
            token_url: 'https://accounts.zoho.com/oauth/v2/token'
            client_id: '%env(ZOHO_CLIENT_ID)%'
            client_secret: '%env(ZOHO_CLIENT_SECRET)%'
    http_services:
        desk_client:
            base_uri: 'https://desk.zoho.com/'
        crm_client:
            base_uri: 'https://www.zohoapis.com/crm/v2/'