def deserialize(cls, data: str) -> "AuthenticationRecord":
        """Deserialize a record.

        :param str data: A serialized record.
        :return: The deserialized record.
        :rtype: ~azure.identity.AuthenticationRecord
        """

        deserialized = json.loads(data)

        version = deserialized.get("version")
        if version not in SUPPORTED_VERSIONS:
            raise ValueError(
                'Unexpected version "{}". This package supports these versions: {}'.format(version, SUPPORTED_VERSIONS)
            )

        return cls(
            authority=deserialized["authority"],
            client_id=deserialized["clientId"],
            home_account_id=deserialized["homeAccountId"],
            tenant_id=deserialized["tenantId"],
            username=deserialized["username"],
        )
Deserialize a record.

        :param str data: A serialized record.
        :return: The deserialized record.
        :rtype: ~azure.identity.AuthenticationRecord
        
Solutions/CyberArkAudit/Data Connectors/.python_packages/lib/site-packages/azure/identity/_auth_record.py