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: Bitbucket, Box.net, Disqus, Dropbox with OAuth 1.0 and 2.0, Eventful, Facebook, Fitbit, Flickr, Foursquare, github, Google with OAuth 1.0a and OAuth 2.0, Instagram, LinkedIn, Microsoft, Reddit, RightSignature, Salesforce, Scoop.it, StockTwits, SurveyMonkey, Tumblr, Twitter, VK, Withings, XING, and Yahoo!. Every other OAuth server is supported by setting an endpoint URLs and other parameters using specific class variables. 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|
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.
Release Notes: This version adds support for Reddit and Dropbox with OAuth 2.0.
Release Notes: This release adds a sub-class for storing and retrieving tokens in an encrypted way in cookies, instead of PHP session variables. The workaround to use the API key instead of the client secret to access SurveyMonkey was removed to make it work with their latest API changes. The access_token_parameter option variable was added to support unusual OAuth implementations like Foursquare that take the access token parameter with a different name when calling their API. The login with Yahoo! example was updated to point to the right page to create Yahoo! API projects.
Release Notes: This release adds support for Disqus and SurveyMonkey. It also adds support for OAuth servers which need to pass the API key in the authorization URLs.
Release Notes: This release adds support for Salesforce OAuth server. It also fixes the retrieval of stored access token secrets from OAuth 1 servers and handles tokens with the expiry time set to 0 as non-expiring tokens.