HUB International interview question

What are at least two methods to authenticate access through REST API?