def handleRequest(self, request):
        handler = getattr(self, 'openid_' + request.mode, None)
        if handler is not None:
            return handler(request)
        else:
            raise NotImplementedError(
                "%s has no handler for a request of mode %r." %
                (self, request.mode))
Handle a request.
dataset/ETHPy150Open CollabQ/CollabQ/openid/server/server.py/Server.handleRequest