    def _patch_xsrf(self, handler):
        """Overridden in HubOAuth

        HubAuth base class doesn't handle xsrf,
        which is only relevant for cookie-based auth
        """
        return
Overridden in HubOAuth

HubAuth base class doesn't handle xsrf,
which is only relevant for cookie-based auth
jupyterhub/services/auth.py