@auth_decorator
def token_authenticated(self):
    if self.get_current_user_token() is None:
        raise web.HTTPError(403)
decorator for a method authenticated only by the Authorization token header
dataset/ETHPy150Open jupyterhub/jupyterhub/jupyterhub/utils.py/token_authenticated