@auth_decorator
def authenticated_403(self):
    if self.get_current_user() is None:
        raise web.HTTPError(403)
like web.authenticated, but raise 403 instead of redirect to login
dataset/ETHPy150Open jupyterhub/jupyterhub/jupyterhub/utils.py/authenticated_403