News Feed
Jobs Feed
Sections




Recent Jobs

News Archive
feed this:

Developer.com:
Authenticating Users with OpenID and the Zend Framework
October 30, 2008 @ 07:57:53

New on the Developer.com website is this tutorial from Jason Gilmore looking at OpenID authentication through the Zend Framework's Zend_Auth component.

I'll show you how to take advantage of a powerful open user identification service known as OpenID, and show you how to incorporate OpenID authentication and identification features into your Zend Framework-powered website. Even if you haven't started taking advantage of a web framework such as Zend's, this tutorial will serve two important purposes, demonstrating not only the allure of OpenID, but also how a framework such as the Zend Framework can greatly reduce development time.

He points to several places you can set up an OpenID account and mentions the Zend_Auth component that already includes all of the methods you'll need to validate a user based on their choice of provider. He creates a simple form and makes an indexAction in his controller that makes a Zend_OpenId_Consumer object to grab the user's information and verify the login.

0 comments voice your opinion now!
authenticate openid zendframework user tutorial



AOL Developer Network:
A Primer for OpenID with PHP
September 12, 2008 @ 14:28:32

On the AOL Developer Network Jack Herrignton has posted an introduction to OpenID and how you can use it in your PHP application.

OpenID is another one of those "cool technologies you've never heard of" type of deals. OpenID is an open source initiative that provides a way for Web users to register their identity in one place and then use that identity anywhere on the Web that supports OpenID. [...] Before getting an OpenID, though, I should point out that it's not required that you run an OpenID provider to OpenID-enable your application. In fact, no special software or service is required in your Web application. The only requirement is that your Web server programming language be able to make HTTP requests of the OpenID provider, which is something all of them can do.

Once you have your OpenID account set up, his simple script, making use of the ability that any version of PHP has to open URLs, can authenticate off of a remote OpenID service - that has the cURL extension compiled in.

0 comments voice your opinion now!
openid curl authenticate tutorial developer


Zend Developer Zone:
Getting Started with OpenID and PHP
June 05, 2008 @ 10:27:20

Vikram Vaswani has a new tutorial posted to the Zend Developer Zone today about integrating PHP with an OpenID system via a few helpful packages.

OpenID, a free, open-source framework for "single sign-on" across different Web sites and applications. The even better news? There already exist a bunch of PHP widgets that allow developers to easily integrate OpenID into a PHP application, and this article is going to show you how to use them. So what are you waiting for? Flip the page, and let's get going!

For those not familiar with the authentication method, he defines OpenID and shows how it can help with the "too many passwords, too many accounts" problem many users face. He uses the PHP OpenID Library and the Authentication::OpenID_Consumer PEAR package (as well as several other PEAR packages to help with the connections and message formatting). He builds two simple forms to use the service - one to authenticate a user and another to create a new account.

0 comments voice your opinion now!
openid tutorial connect authenticate myopenid pear package


Zend Developer Zone:
Lifting the Skirt on Zend Framework 1.5 Zend_Auth and the OpenId Adapter
February 21, 2008 @ 07:53:00

The Zend Developer Zone has posted a new look something recently added to the Zend Framework - support in the Zend_Auth component for OpenId connections.

Since there have been numerous tutorials written regarding Zend_Auth, I won't attempt to make a full tutorial on it. If you are curious, google around, you'll find them. Today though, I'd like to show you a cool new piece that has been added to Auth in Zend Framework 1.5, the new Zend_Auth_Adapter_OpenId.

Cal explains what the OpenID system is all about before getting into the code that uses it. He suggests MyOpenID as a provider to register at and includes the code to make a request to them to authenticate a username/password combo. The actual authentication check is only about three or four lines of code.

0 comments voice your opinion now!
zendframework zendauth component openid authenticate



Community Events









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


windows benchmark zendframework wordpress opinion symfony sqlserver conference podcast codeigniter framework microsoft feature doctrine extension release zend job facebook developer

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