US court documents claim an Iranian government asset was tasked with assassinating Donald Trump.