Package pyxmpp :: Package sasl :: Module core :: Class Success
[show private | hide private]
[frames | no frames]

Class Success

Reply --+
        |
       Success


The success SASL message (sent by the server on authentication success).

Method Summary
  __init__(self, username, realm, authzid, data)
Initialize the `Success` object.
  __repr__(self)
    Inherited from Reply
  base64(self)
Base64-encode the data contained in the reply.

Method Details

__init__(self, username, realm=None, authzid=None, data=None)
(Constructor)

Initialize the `Success` object.

:Parameters:
    - `username`: authenticated username (authentication id).
    - `realm`: authentication realm used.
    - `authzid`: authorization id.
    - `data`: the success data to be sent to the client.
:Types:
    - `username`: `unicode`
    - `realm`: `unicode`
    - `authzid`: `unicode`
    - `data`: `str`
Overrides:
pyxmpp.sasl.core.Reply.__init__

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