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
str base64(self)
Base64-encode the data contained in the reply.

Instance Variable Summary
    Inherited from Reply
str data: optional reply data.

Method Details

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

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