def _register_client_authenticator(klass, name):
<EOL>CLIENT_MECHANISMS_D[name] = klass<EOL>items = sorted(CLIENT_MECHANISMS_D.items(), key = _key_func, reverse = True)<EOL>CLIENT_MECHANISMS[:] = [k for (k, v) in items ]<EOL>SECURE_CLIENT_MECHANISMS[:] = [k for (k, v) in items<EOL>if v._pyxmpp_sasl_secure]<EOL>
Add a client authenticator class to `CLIENT_MECHANISMS_D`,
    `CLIENT_MECHANISMS` and, optionally, to `SECURE_CLIENT_MECHANISMS`