LPL Financial interview question

Describe generally how you would add authentication to an API endpoint.