diff options
author | Lance Stout <lancestout@gmail.com> | 2011-09-28 22:48:30 -0400 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-09-28 22:48:30 -0400 |
commit | e37adace62ee7bb8a29f661ac33853d94456d35f (patch) | |
tree | 69bc8587c4cb8998c533a7665f7f580feb41db79 /sleekxmpp/plugins/xep_0060/stanza/base.py | |
parent | d10f591bf4b84264df84d12e9d7ec380934c3887 (diff) | |
download | slixmpp-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 'sleekxmpp/plugins/xep_0060/stanza/base.py')
0 files changed, 0 insertions, 0 deletions