[Twisted-Python] Re: cred and stateless protocols

glyph at divmod.com glyph at divmod.com
Wed May 3 13:36:07 EDT 2006



On Wed, 03 May 2006 12:14:51 +0200, Nicola Larosa <nico at teknico.net> wrote:
>> Stateless protocols like HTTP use sessions for client authentication.

>> The question is: does cred support this type of authentication?
>
>There's support in twisted.web.woven.guard and .simpleguard .

Euuuugghhhh.  twisted.web.woven.* is ancient, deprecated, and buggy.  Don't use it as anything other than an example (and even then it's not a terribly good example).

You can find a more recent examples in nevow.guard, http://divmod.org/

It supports both session-based and HTTP-auth-based authentication with cred.




More information about the Twisted-Python mailing list