slixmpp/sleekxmpp/test
Lance Stout e37adace62 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'
2011-09-28 22:48:30 -04:00
..
__init__.py
livesocket.py
mocksocket.py
sleektest.py Allow SASL mechanism to be set when creating a ClientXMPP instance. 2011-09-28 22:48:30 -04:00