News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Rasmus Lerdorf's Blog:
Writing an OAuth Provider Service
May 24, 2010 @ 13:57:31

Rasmus Lerdorf has written up a guide that can help you create a simple OAuth service with the help of the PECL OAuth extension.

Last year I showed how to use pecl/oauth to write a Twitter OAuth Consumer. But what about writing the other end of that? What if you need to provide OAuth access to an API for your site? How do you do it? Luckily John Jawed and Tjerk have put quite a bit of work into pecl/oauth lately and we now have full provider support in the extension. It's not documented yet at php.net/oauth, but there are some examples in svn.

He walks you through creating the consumer key registration page (so others can signup for access to your provider), making the OAuth endpoints, how to authorize the request token and send back out the access token. He also includes an actual API call to show it working.

0 comments voice your opinion now!
oauth provider service tutorial pecl extension


blog comments powered by Disqus

Similar Posts

DevShed: Inserting, Updating and Deleting Database Rows with Code Igniter

PHP-Coding-Practices.com: Introduction To Security Vulnerabilities In PHP

Jani Hartikainen's Blog: Zend_Acl part 2: different roles and resources, more on access

IBM developerWorks: Devise Web 2.0 applications with PHP and DHTML (Part 1)

DevShed: Working with Directory Iterators and Proxy Classes with PHP 5


Community Events





Don't see your event here?
Let us know!


library zendserver tips community update deployment framework introduction opinion package laravel language release symfony api interview unittest series install podcast

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework