Writing an OAuth Provider Service

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. My particular project was to hook an OAuth provider service into a large existing Kohana-based codebase. After a couple of iterations this should now be trivial for others to do with the current pecl/oauth extension.



Continue reading "Writing an OAuth Provider Service"
 •  0 comments  •  flag
Share on Twitter
Published on May 22, 2010 21:50
No comments have been added yet.


Rasmus Lerdorf's Blog

Rasmus Lerdorf
Rasmus Lerdorf isn't a Goodreads Author (yet), but they do have a blog, so here are some recent posts imported from their feed.
Follow Rasmus Lerdorf's blog with rss.