Download the PHP package huitiemesens/oauth without Composer
On this page you can find all versions of the php package huitiemesens/oauth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download huitiemesens/oauth
More information about huitiemesens/oauth
Files in huitiemesens/oauth
Package oauth
Short Description Fork of lusitanian/oauth with Withings support. PHP 5.3+ oAuth 1/2 Library
License MIT
Informations about the package oauth
PHPoAuthLib
PHPoAuthLib provides oAuth support in PHP 5.3+ and is very easy to integrate with any project which requires an oAuth client.
Installation
This library can be found on Packagist. The recommended way to install this is through composer.
Edit your composer.json
and add:
And install dependencies:
Features
- PSR-0 compliant for easy interoperability
- Fully extensible in every facet.
- You can implement any service with any custom requirements by extending the protocol version's
AbstractService
implementation. - You can use any HTTP client you desire, just create a class utilizing it which implements
OAuth\Common\Http\ClientInterface
(two implementations are included) - You can use any storage mechanism for tokens. By default, session, in-memory and Redis.io (requires PHPRedis) storage mechanisms are included. Implement additional mechanisms by implementing
OAuth\Common\Token\TokenStorageInterface
.
- You can implement any service with any custom requirements by extending the protocol version's
Service support
The library supports both oAuth 1.x and oAuth 2.0 compliant services. A list of currently implemented services can be found below.
Included service implementations
- OAuth1
- BitBucket
- Etsy
- FitBit
- Flickr
- Scoop.it!
- Tumblr
- Yahoo
- Withings
- OAuth2
- Amazon
- BitLy
- Box
- Dailymotion
- Dropbox
- Foursquare
- GitHub
- Harvest
- Heroku
- Mailchimp
- Microsoft
- PayPal
- RunKeeper
- SoundCloud
- Vkontakte
- Yammer
- more to come!
Examples
Examples of basic usage are located in the examples/ directory.
Usage
For usage with complete auth flow, please see the examples. More in-depth documentation will come with release 1.0.