GlobalLogic interview question

Q: How to authenticate the web api?