def auth_finish(self, _unused):
        self.lock.acquire()
        try:
            self.__logger.debug("Authenticated")
            self.authenticated=True
            self.state_change("authorized",self.my_jid)
            self._post_auth()
        finally:
            self.lock.release()
Sets the badges for a given user to a context var.  Usage:
dataset/ETHPy150Open kuri65536/python-for-android/python3-alpha/python-libs/pyxmpp2/ext/legacyauth.py/LegacyClientStream.auth_finish--crossover with--dataset/ETHPy150Open eldarion/brabeion/brabeion/templatetags/brabeion_tags.py/badges_for_user