def serialize(self) -> str:
        """Serialize the record.

        :return: The serialized record.
        :rtype: str
        """

        record = {
            "authority": self._authority,
            "clientId": self._client_id,
            "homeAccountId": self._home_account_id,
            "tenantId": self._tenant_id,
            "username": self._username,
            "version": "1.0",
        }

        return json.dumps(record)
Serialize the record.

        :return: The serialized record.
        :rtype: str
        
Solutions/CyberArkAudit/Data Connectors/.python_packages/lib/site-packages/azure/identity/_auth_record.py