PHP OAuth API authorizes user access using the OAuth protocol. It abstracts OAuth 1.0, 1.0a, and 2.0 in the same class. It provides built-in support for popular OAuth servers: 37Signals, Amazon, Buffer, Bitbucket, Box.net, Dailymotion, Discogs, Disqus, Dropbox with OAuth 1.0 and 2.0, Etsy, Eventful, Facebook, Fitbit, Flickr, Foursquare, github, Google with OAuth 1.0a and OAuth 2.0, Instagram, LinkedIn, Microsoft, Rdio, Reddit, RightSignature, Salesforce, Scoop.it, StockTwits, SurveyMonkey, Tumblr, Twitter, VK, Withings, Xero, XING, and Yahoo!. Every other OAuth server is supported by setting an endpoint URLs and other parameters using specific class variables or an external JSON configuration file. The class can also send requests to an API using the previously-obtained OAuth access token. For servers which support offline access, the class can renew expired tokens automatically using refresh tokens.
| Tags | PHP php classes OAuth |
|---|---|
| Licenses | BSD Revised |
| Operating Systems | any |
| Implementation | PHP |


Release Notes: This release adds support for refreshing expired OAuth 1.0 tokens. It also fixes the check for expired OAuth 2.0 tokens without a refresh token.


Release Notes: This release adds support to authorizion flow using the user name and password. It also made the Process function fail if the access token was already set manually. It added built-in support to OAuth servers of Mavenlink, oDesk, RunKeeper, and Bit.ly.


Release Notes: This release fixes sending POST requests uploading custom content type data.


Release Notes: This version adds support for OAuth servers 37Signals, Amazon, Buffer, Discogs, Etsy, Xero, and Rdio. It can read new server configurations from a JSON file. It can obtain the login dialog URL page automatically from the request token response. It can also parse API call XML responses using SimpleXML.


Release Notes: This release adds support for OAuth servers Withings, VK, and Google with OAuth 1.0. It also adds support for API calls appending parameters to the request URL for non-POST OAuth 2.0 requests, and makes Twitter API call parameters not be passed via URL.