An early look at one of many modules emerging for ZF2

Social Authentication with Zend Framework 2
Keine Kommentare

Chances are if you are reading Web and PHP Magazine, you’ve implemented user authentication for a website or 20. This is one of those features that most websites need, and while not terribly difficult, user authentication must be done correctly or else you risk exposing your site and users to the malevolent side of the Internet. The impact of a security breach can vary widely from a brand new site that doesn’t gain traction because it loses the trust of early users, to a large site putting all their users information in the hands of the bad guys…that never happens, right?! By using community developed modules, not only will you save time by not having to implement the feature yourself, community-reviewed code will be more robust and secure.

In Web and PHP Magazine Issue 4, we heard Matthew Weier O’Phinney, chief architect of Zend Framework, talk about modules in Zend Framework 2 (ZF2) being primary citizens. This has allowed the community to start implementing reusable modules that can be dropped into any ZF2 application. When I needed to add Social Authentication to my ZF2 project, I chose to make it a module and share it with the community: ScnSocialAuth [1]. Before going any further, I have to acknowledge those whose work allowed me to do this with relative ease. ScnSocialAuth is built upon the ZfcUser module by the Zend Framework commons team, in particular, Evan Coury [2], who has been a great help when I had questions along the way. ScnSocialAuth also uses the HybridAuth library [3] by Med Miled to interface with various login providers. Lastly, I’d like to thank the entire Zend Framework community, hanging out in the contributor IRC channel has been tremendously helpful while learning and contributing to ZF2!


Unsere Redaktion empfiehlt:

Relevante Beiträge

Benachrichtige mich bei
Inline Feedbacks
View all comments
- Gib Deinen Standort ein -
- or -