    async def handle_logout(self):
        """Custom user action during logout

        By default a no-op, this function should be overridden in subclasses
        to have JupyterHub take a custom action on logout.
        """
        return
Custom user action during logout

By default a no-op, this function should be overridden in subclasses
to have JupyterHub take a custom action on logout.
jupyterhub/handlers/login.py