def serialize(self):
        # type: () -> str
        """Serialize the current cache state into a string."""
        with self._lock:
            self.has_state_changed = False
            return json.dumps(self._cache, indent=4)
Serialize the current cache state into a string.
Solutions/CyberArkAudit/Data Connectors/.python_packages/lib/site-packages/msal/token_cache.py