Did Trump have the authority to strike Iran?

Did Trump have the authority to strike Iran?