コード例 #1
0
ファイル: client.py プロジェクト: bhuztez/twisted.xmpp
 def sendSaslResponse(self, content=""):
     e = Stanza((NS_XMPP_SASL, "response"))
     e.addContent(b64encode(content))
     self.send(e)
コード例 #2
0
 def sendSaslResponse(self, content=''):
     e = Stanza((NS_XMPP_SASL, 'response'))
     e.addContent(b64encode(content))
     self.send(e)
コード例 #3
0
ファイル: client.py プロジェクト: bhuztez/twisted.xmpp
 def sendSaslAuth(self, mechanism, content=""):
     e = Stanza((NS_XMPP_SASL, "auth"))
     e["mechanism"] = mechanism
     e.addContent(b64encode(content))
     self.send(e)
コード例 #4
0
 def sendSaslAuth(self, mechanism, content=''):
     e = Stanza((NS_XMPP_SASL, 'auth'))
     e['mechanism'] = mechanism
     e.addContent(b64encode(content))
     self.send(e)