def get_user_id(self, client_id, code):
        
        return self.db.codes.find_one({'_id': code, 'client_id': client_id}
                                      )['user_id']
Gets the user ID, given a client application ID and a temporary
dataset/ETHPy150Open joaoqalves/web2py-oauth2/modules/oauth/storage/__init__.py/MongoStorage.get_user_id