summaryrefslogtreecommitdiff
path: root/conn_tests/test_pubsubjobs.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-09-28 22:48:30 -0400
committerLance Stout <lancestout@gmail.com>2011-09-28 22:48:30 -0400
commite37adace62ee7bb8a29f661ac33853d94456d35f (patch)
tree69bc8587c4cb8998c533a7665f7f580feb41db79 /conn_tests/test_pubsubjobs.py
parentd10f591bf4b84264df84d12e9d7ec380934c3887 (diff)
downloadslixmpp-e37adace62ee7bb8a29f661ac33853d94456d35f.tar.gz
slixmpp-e37adace62ee7bb8a29f661ac33853d94456d35f.tar.bz2
slixmpp-e37adace62ee7bb8a29f661ac33853d94456d35f.tar.xz
slixmpp-e37adace62ee7bb8a29f661ac33853d94456d35f.zip
Allow SASL mechanism to be set when creating a ClientXMPP instance.
Instead of using: ClientXMPP(jid, password, plugin_config={ 'feature_mechanisms': {'use_mech': 'SOME-MECH'}}) You can use: ClientXMPP(jid, password, sasl_mech='SOME-MECH') If you need to change the mechanism after instantiation, use: xmpp['feature_mechanisms'].sasl.mech = 'SCRAM-MD5'
Diffstat (limited to 'conn_tests/test_pubsubjobs.py')
0 files changed, 0 insertions, 0 deletions