Package twisted :: Package protocols :: Module imap4 :: Class IServerAuthentication
[show private | hide private]
[frames | no frames]

Class IServerAuthentication

NonMetaInterface --+
                   |
                  IServerAuthentication


Method Summary
Any object implemtenting IAccount or a Deferred authenticateResponse(self, challenge, response)
Examine a challenge response for validity.
str generateChallenge(self)
Create a challenge string
str getName(self)
Return an identifier associated with this Authentication scheme.

Method Details

authenticateResponse(self, challenge, response)

Examine a challenge response for validity.
Parameters:
challenge - The challenge string associated with this response
           (type=str)
response - The response from the client
           (type=str)
Returns:
Any object implemtenting IAccount or a Deferred
Raises:
twisted.cred.error.Unauthorized - if the response is incorrect.

generateChallenge(self)

Create a challenge string
Returns:
A string representing the challenge
           (type=str)

getName(self)

Return an identifier associated with this Authentication scheme.
Returns:
str

Generated by Epydoc 1.1 on Fri Jun 27 03:45:48 2003 http://epydoc.sf.net