Users can now login with their OpenID. When it is their first login, additional detai...
commit52497a6378bcbeb231818620a1827ef83a4452f7
authorvinnl <imnotb@gmail.com>
Sat, 22 Mar 2008 22:51:58 +0000 (22 23:51 +0100)
committervinnl <imnotb@gmail.com>
Sat, 22 Mar 2008 23:46:02 +0000 (23 00:46 +0100)
tree75e96a2ba8eada8ff5c9f987ce353f8959e298d5
parent72b62753d17ed5e4d2e91d68f64ef6b653437553
Users can now login with their OpenID. When it is their first login, additional details are asked using OpenID's Simple Registration Extension. These details are then cached, and are not requested again until the cache has expired. The details are also saved to the database for later retrieval. When the cache expires (and thus new details are requested), this database entry will be updated with the new details.
Furthermore, I've created Pivip_Auth, a subclass of Zend_Auth which was created because Zend_Auth could not store additional information besides the identifier. Pivip_Auth has the added method getIdentityProperties() which allows you to retrieve a Pivip_Auth_Identity object.
project/library/Pivip/Auth.php [new file with mode: 0644]
project/library/Pivip/Auth/Identity.php [moved from project/library/Pivip/Auth/Identity/Abstract.php with 74% similarity]
project/modules/notify/controllers/IndexController.php
project/modules/openid/Module.php
project/modules/openid/controllers/AuthenticationController.php
project/modules/openid/views/scripts/authentication/menu.phtml
project/modules/translate/Module.php
project/public/styles/nl/screen.css
specifications/modules/openid/controllers/OpenidLoginFormSpec.php