[Twisted-Python] Lies, Damn Lies, and Stable Interfaces

Glyph Lefkowitz glyph at twistedmatrix.com
Mon Jun 16 07:33:38 EDT 2003

On Monday, June 16, 2003, at 06:06 AM, Moshe Zadka wrote:

> I'm guessing that is only true if the login succeeds?
> In particular, if the callback is true, am I guaranteed the login
> was approved? And if it isn't, will an errback be fired?

If the callback returns, the login was approved.  errbacks are fired, 
hopefully with defined values from twisted.cred.error, if the login has 

> [context: I am trying to write a simple HTTP authenticator. I don't
> give a damn who the user is, but I want to make sure he's in my
> password file]

Thank you.  We need HTTP auth.  Please try to use 
twisted.web.woven.guard.UsernamePasswordWrapper as an example...

More information about the Twisted-Python mailing list