Achim Domma | 29 May 2012 10:54
Favicon
Gravatar

Form based authentication

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.

cheers,
Achim
Louis D. Burr | 29 May 2012 13:54

Re: Form based authentication

Hi Achim,

On May 29, 2012, at 3:54 AM, Achim Domma <domma <at> procoders.net> 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

Gmane