Home | Trees | Indices | Help |
|
---|
|
Code for checking against our user db.
We don't use nevow.guard here since we know we're queried via http, but we can't be sure that the other end knows html, and we don't want to fuzz around with sessions. twisted.cred is a different issue but probably only complicates matters unnecessarily.
Functions | |||
|
|||
|
Variables | |
adminProfile =
hash(x) |
|
__package__ =
|
Function Details |
returns a set of all groups user username belongs to. If username and password don't match, you'll get an empty set. |
returns true if user and password match the db entry and the user is in the reqGroup. If reqGroup is None, true will be returned if the user/password pair is in the user table. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |