diff options
author | Helmut Grohne <helmut@subdivi.de> | 2011-01-12 21:31:37 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2011-01-12 21:31:37 +0100 |
commit | 225f9536a67240ada1bb1195328de8bfdcebb041 (patch) | |
tree | 7c47e06d508207d9e41de52f5cffbec2f84efb44 /wsgitools | |
parent | 613e0e381a2860c8f027b4665a20a90768875ebd (diff) | |
download | wsgitools-225f9536a67240ada1bb1195328de8bfdcebb041.tar.gz |
improved AuthDigestMiddleware doc string
Diffstat (limited to 'wsgitools')
-rwxr-xr-x | wsgitools/digest.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/wsgitools/digest.py b/wsgitools/digest.py index bb587fa..2a8da05 100755 --- a/wsgitools/digest.py +++ b/wsgitools/digest.py @@ -478,7 +478,10 @@ class DBAPI2NonceStore(NonceStoreBase): __all__.append("AuthDigestMiddleware") class AuthDigestMiddleware: - """Middleware partly implementing RFC2617. (md5-sess was omited)""" + """Middleware partly implementing RFC2617. (md5-sess was omited) + Upon successful authentication the environ dict will be extended + by a REMOTE_USER key before being passed to the wrapped + application.""" algorithms = {"md5": lambda data: md5(data).hexdigest()} def __init__(self, app, gentoken, maxage=300, maxuses=5, store=None): """ |