Mercurial > hg > bitsyauth
changeset 44:158b469a10e9
whitespace
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sat, 28 Dec 2013 14:26:29 -0800 |
parents | 0aa08d20fc7d |
children | 54a53bbe5be9 |
files | bitsyauth/__init__.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bitsyauth/__init__.py Sat Dec 28 13:24:44 2013 -0800 +++ b/bitsyauth/__init__.py Sat Dec 28 14:26:29 2013 -0800 @@ -33,7 +33,9 @@ """inner auth; does login checking""" def __init__(self, app, passwords, newuser=None, site=None, realm=None): - """a simple reimplementation of auth + """ + a simple auth implementation: inner middleware + * app: the WSGI app to be wrapped * passwords: callable that return a dictionary of {'user': 'password'} * newuser: callable to make a new user, taking name + pw