News Feed
Sections




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

Padraic Brady's Blog:
Another OAuth Library Is Born (Zend_OAuth Proposal)
June 23, 2008 @ 16:13:50

Padraic Brady has posted about another OAuth library that he's started up, one that's ready to be integrated with the Zend Framework reborn as a Zend_OAuth component (see his proposal code).

I've spent some time over the last week, and I have completed an initial pass at writing an OAuth Consumer in PHP5. I'm biased, but it's a nice chunk of code capable of fairly routine POST based OAuth requests using either an Authorized header, or a raw url encoded POST request body. My main remaining task is final cleanup, included refactoring, rolling my final set of acceptance tests into PHPUnit from SimpleTest, and adding support for HTTP GET, RSA, and a storage API so tokens can be saved in the background rather than outside the API.

Example code is included showing how to connect to the ma.gnolia bookmarking service and grabbing the response body from the request. He has a few more things to finish up before it's ready to go (backend storage, reworking the handling of web service API interaction, etc).

0 comments voice your opinion now!
zendoauth oauth library zendframework component development


blog comments powered by Disqus

Similar Posts

Chance Garcia's Blog: Zend_log_exception 'bad log priority'

Ralph Schinder's Blog: The Semi-Official Zend Framework Pear Channel

Scott Mattocks' Blog: PHP-GTK 2 Alpha Released

Jakub Zalas' Blog: Managing object creation in PHP with the Symfony2 Dependency Injection component

ProDevTips.com: Writing a CMS/Community with Smarty and the Zend Framework: Part 5


Community Events





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


composer security voicesoftheelephpant framework list podcast opinion release laravel language tool library community symfony series artisanfiles introduction conference interview version

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