OAuth component for CakePHP

A component for accessing services using OAuth.

Updates

  • 2008-11-10: Fixing problem with Request-/AccessToken urls using a querystring
  • 2008-09-15: Fixing some bugs. Please be aware that the API of get() and post() changed!
  • 2008-09-01: Initial release

Requirements

  • at least CakePHP RC2 (not tested with CakePHP 1.1.x.x)
  • PHP5
  • OAuth library

License

Installation

  • Download the OAuth component
  • Copy the content of the zip file to “app/controllers/components”
  • Download the OAuth library and place OAuth.php in “vendors/OAuth”
  • Add the component to the $components array of your controller(s) with:
    public $components = array('OauthConsumer');
    

Example usage

© daniel hofstetter. Licensed under a Creative Commons License