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

Class Reply

Known Subclasses:
Challenge, Failure, Response, Success

Base class for SASL authentication reply objects.
Method Summary
  __init__(self, data)
Initialize the Reply object.
str base64(self)
Base64-encode the data contained in the reply.

Instance Variable Summary
str data: optional reply data.

Method Details

__init__(self, data='')
(Constructor)

Initialize the Reply object.
Parameters:
data - optional reply data.
           (type=str)

base64(self)

Base64-encode the data contained in the reply.
Returns:
base64-encoded data.
           (type=str)

Instance Variable Details

data

optional reply data.
Type:
str