[Zope-PAS] New IChallengePlugin interface

Zachery Bir zbir at urbanape.com
Mon Oct 4 11:37:02 EDT 2004

On Oct 4, 2004, at 11:30 AM, Lennart Regebro wrote:

> Zachery Bir wrote:
>> How does this sound as a replacement? Too wordy?
>> class IChallengePlugin( Interface ):
>>    """ Initiate a challenge to the user to provide credentials.
>>    """
>>    def challenge( request, response, protocol, **kw ):
> Didn't we agree to skip the protocol in this call, as it will always 
> be the same as self.protocol or None?

You're right, sorry. I think we probably also want to get rid of **kw, 
since I know Jim is allergic to them ;^)


More information about the Zope-PAS mailing list