Did President Trump have legal authority to launch Iran strikes?

Some lawmakers have called Trump's strikes on Iran "unconstitutional" - so did he have the authority to order them?
More info