Package pyxmpp :: Package sasl :: Module digest_md5 :: Class DigestMD5ServerAuthenticator
[show private | hide private]
[frames | no frames]

Class DigestMD5ServerAuthenticator

ServerAuthenticator --+
                      |
                     DigestMD5ServerAuthenticator


Provides DIGEST-MD5 SASL authentication for a server.

Method Summary
  __init__(self, password_manager)
Initialize a `DigestMD5ServerAuthenticator` object.
  response(self, response)
Process a client reponse.
  start(self, response)
Start the authentication process.

Method Details

__init__(self, password_manager)
(Constructor)

Initialize a `DigestMD5ServerAuthenticator` object.

:Parameters:
    - `password_manager`: name of the password manager object providing
      authentication credential verification.
:Types:
    - `password_manager`: `PasswordManager`
Overrides:
pyxmpp.sasl.core.ServerAuthenticator.__init__

response(self, response)

Process a client reponse.

:Parameters:
    - `response`: the response from the client.
:Types:
    - `response`: `str`

:return: a challenge, a success indicator or a failure indicator.
:returntype: `sasl.Challenge`, `sasl.Success` or `sasl.Failure`
Overrides:
pyxmpp.sasl.core.ServerAuthenticator.response

start(self, response)

Start the authentication process.

:Parameters:
    - `response`: the initial response from the client (empty for
      DIGEST-MD5).
:Types:
    - `response`: `str`

:return: a challenge, a success indicator or a failure indicator.
:returntype: `sasl.Challenge`, `sasl.Success` or `sasl.Failure`
Overrides:
pyxmpp.sasl.core.ServerAuthenticator.start

Generated by Epydoc 2.1 on Wed May 31 22:37:03 2006 http://epydoc.sf.net