LPL Financial Interview Question

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