stevenmaguire/trello-oauth1-server
最新稳定版本:1.0.0
Composer 安装命令:
composer require stevenmaguire/trello-oauth1-server
包简介
This package is now part of the League's OAuth1 Client
关键字:
README 文档
README
This package is now part of the League's OAuth1 Client.
If you are currently dependent upon this package for your project update your composer dependancies to use version >1.1.0 of the League's OAuth1 Client.
Trello OAuth 1 Server
A PHP client for authenticating with Trello using OAuth 1. This package is made for the League's OAuth1 Client.
Install
Via Composer
$ composer require stevenmaguire/trello-oauth1-server
Usage
To Instantiate a Server
$server = new \Stevenmaguire\OAuth2\Client\Server\Trello(array( 'identifier' => 'your-identifier', 'secret' => 'your-secret', 'callback_uri' => 'http://your-callback-uri/', 'name' => 'your-application-name', // optional, defaults to null 'expiration' => 'your-application-expiration', // optional ('never', '1day', '2days'), defaults to '1day' 'scope' => 'your-application-scope' // optional ('read', 'read,write'), defaults to 'read' ));
Documentation
For more consumption details, please refer to the readme on League's OAuth1 Client.
Testing
$ phpunit
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 58
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-01-09