dwsla/deal — pull request #11 by auroraeosrose (2014-03-08 01:13:10+00:00)
Title: Asfxnb13

This adds authentication that is fully pluggable for deal, along with several implementations

There is a single (pluggable) auth middleware finder class

There are storage classes for auth information - for mongo, flat file, and a "none" (in memory storage) suitable for testing situations.

There are three authentication classes - a "none" test ready solution, a solution providing basic http auth integration (from PHP itself)

And a simple solution using http headers - specific for deal

Both the http header and http auth solutions only store cached versions of keys, and all auth mechanisms have hooks for creating apps to manage keys (list, create, delete)