Commit 5425f7ea authored by Philipp Hörist's avatar Philipp Hörist

Client: Expose more data via propertys

parent 02464885
......@@ -65,6 +65,10 @@ class SASL:
def set_password(self, password):
self._password = password
def password(self):
return self._password
def delegate(self, stanza):
if stanza.getNamespace() != NS_SASL:
......@@ -179,6 +179,10 @@ class Client(Observable):
def set_password(self, password):
def password(self):
return self._sasl.password
def peer_certificate(self):
return self._peer_certificate, self._peer_certificate_errors
......@@ -256,6 +260,10 @@ class Client(Observable):
self._proxy = proxy
def proxy(self):
return self._proxy
def get_bound_jid(self):
return self._jid
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment