cweiske/phorkie — pull request #7 by jnovack (2012-09-16 05:35:23+00:00)
Title: OpenID Authentication

Alright, you have the URL, give it a go. I currently have my site set for "protection" mode (adds/edits/deletes).

b0687c3
- moves css and js files into proper directories to prepare for additional files

a73791f
- adds auth defaults to config.default.php and config.php.dist
- updates templates/base.htm and templates/exception.htm to map to files changed earlier
- adds templates/forbidden.htm and templates/login.htm (non-javascript) for new pages
- adds auth.php, secure.php, forbidden.php, login.php for authentification
- updates .htaccess for new pages

The following were stolen almost verbatim (hacked to fit the site) from the Pear OpenID example pages:
- src/openid/config.php
- src/openid/wrapper.php
- www/css/debug.css
- www/css/openid.css
- www/auth.php (from OpenID/examples/relyingparty.php)
- www/images/*

TODO
- completely clean up auth.php and/or migrate to an OpenID class.

NOTE: This was made just to comment on code, I can squash all changes, and merge to master then re-pull request when ready.