"The Gulf of Tonkin Resolution authorized President Johnson to take all necessary measures to repel any armed attack against the forces of the United States and to prevent further aggression by the communist government of North Vietnam."
i would say Gave the president authority to retaliate militarily for the attack on U.S. ships and other similar incidents.