stevenmaguire / trello-oauth1-server
This package is abandoned and no longer maintained.
The author suggests using the league/oauth1-client package instead.
This package is now part of the League's OAuth1 Client
1.0.0
2015-01-13 18:55 UTC
Requires
- php: >=5.4.0
- league/oauth1-client: ~1.0
Requires (Dev)
- mockery/mockery: 0.7.2
This package is auto-updated.
Last update: 2022-02-01 12:43:29 UTC
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.