The Department of Homeland Security’s deployment of federal agents to Portland, Ore., has shown the broad legal authority an agency created to protect the United States from national security threats