def usergetter(self, f):
        self._usergetter = f
        return f
Register a function as the user getter.
dataset/ETHPy150Open codalab/codalab-cli/codalab/server/oauth2_provider.py/OAuth2Provider.usergetter