1tomany/oauth2-intuit
最新稳定版本:v1.0.1
Composer 安装命令:
composer require 1tomany/oauth2-intuit
包简介
Intuit OAuth2 provider for The PHP League OAuth2 Client package.
关键字:
README 文档
README
This package provides Intuit OAuth 2.0 support for The PHP League's OAuth 2.0 Client.
Installation
composer require 1tomany/oauth2-intuit
Usage
Usage is the similar to The PHP League's OAuth 2.0 Client, using \OneToMany\OAuth2\Client\Provider\Intuit as the provider.
$provider = new \OneToMany\OAuth2\Client\Provider\Intuit([ 'clientId' => 'intuit-client-id', 'clientSecret' => 'intuit-client-secret', 'redirectUri' => 'https://example.com/oauth/connect' ]);
The provider will use com.intuit.quickbooks.accounting as the default scope if the scopes key is not provided as part of the constructor parameters.
Testing
./vendor/bin/phpunit
Credits
License
The MIT License
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-11-18