[Twisted-Python] Missing Interface?

Kevin Horn kevin.horn at gmail.com
Fri Jul 31 00:31:18 EDT 2009

the following classes:


all seem to implement the same interface, yet there is no Interface defined
for these objects.

"But Kevin", you might be thinking, "They all implement
twisted.cred.credentials.IUsernameHashedPassword or
t.c.c.IUsernamePassword".  That's true, but they all have additional methods
which make them useful for handling SASL authentication in various
protocols.  And those methods aren't included in those interfaces.

So, should there be an Interface which describes the interface that these
objects implement?
Would that make it easier for protocol implementors to deal with SASL in
their protocols?
If it is desirable to have such an Interface, what should it be called?
Would this be of any use to anyone out there? (besides possibly me)
And why are two of these in the IMAP package and the third in cred?  Why not
in the same place?

Thoughts?  Anyone?  Bueller?

Kevin Horn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20090730/f690b73c/attachment.htm 

More information about the Twisted-Python mailing list