News Feed
Sections




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

Lorna Mitchell's Blog:
PHP OAuth Provider Initial Requirements
May 10, 2011 @ 10:04:59

Lorna Mitchell has a quick post related to some of the OAuth work she's done on both sides, consumer and provider. This latest post relates to the OAuth pages and endpoints that are needed as a part of the authentication process.

This article uses the pecl_oauth extension and builds on Rasmus' OAuth Provider post. [...] OAuth has a little more baggage with it than just passing a username and password to an API.

She lists the five things you'll need for your service and talks a bit about the registration process and how the consumer key/consumer secret keys are generated. There's no strict definition on them, so her example uses a combination of sha1, mt_rand and substr to get the job done. She also includes a sample "consumers" table for your reference.

3 comments voice your opinion now!
oauth provider tutorial requirements consumer endpoint


blog comments powered by Disqus

Similar Posts

NetTuts.com: Aspect-Oriented Programming in PHP

Developer.com: Scaffolding with CakePHP - Managing Your Fantasy Football Team

Rob Allen's Blog: A Tutorial Update & Extending ViewRenderer to Support Layout Templates

Zend Developer Zone: Getting Started with OpenID and PHP

PHPMac.com: Building and Installing Apache 2.2.2 and PHP 5.1.3 (or 5.1.4) on Mac OS X 10.4.6


Community Events

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


unittest api extension language podcast version framework laravel wordpress interview laravel5 voicesoftheelephpant series community list introduction library release opinion php7

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