def get_session_data(self, session_id, key, default=None):
        sess = self._get_session_info(session_id)
        return sess.setdefault('serverdict', {}).get(key, default)
Retrieve data stored with set_session_data
dataset/ETHPy150Open matrix-org/synapse/synapse/handlers/auth.py/AuthHandler.get_session_data