Re: Form based authentication

"Louis D. Burr" <[email protected]>
Newsgroups gmane.comp.python.twisted.web
Message-ID <[email protected]>
Hi Achim,


On May 29, 2012, at 3:54 AM, Achim Domma <[email protected]> wrote:

> Hi,
> 
> can somebody point me to some examples about how to do form based authentication in twisted.web? I'm just getting started with twisted.web, because I want to implement some async web stuff. So far I really like it, because the handling of resources is quite similar to CherryPy, which I like too. But I was not able to find some up to date information about authentication and authorization in twisted.web. Any hint would be very appreciated.
> 


You could look at https://github.com/minskmaz/txWebAuth for an example of how to do form-based auth using twisted.cred and twisted.web.  The code is pretty raw, but it should at least give you an idea of what to do.

Hope this helps,

Daniel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.