It goes both ways.
In the case of Trump's asylum proclamation he wants to override the law that explicitly says migrants can apply for asylum even if not at a port of entry.
“law that explicitly says migrants can apply for asylum even if not at a port of entry.”
Even if they got in illegally? Can you give me a link to that law?