Federal authorities have been tracking Iranian threats against Donald Trump since he ordered the assassination of a key Iranian general in 2020.