# HG changeset patch # User Jeff Hammel # Date 1388269589 28800 # Node ID 158b469a10e97b8b7c1a552a56d63d64e058e4ea # Parent 0aa08d20fc7d2808fdca99940f84183da56319fe whitespace diff -r 0aa08d20fc7d -r 158b469a10e9 bitsyauth/__init__.py --- 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