Novigi Interview Question

How to secure REST APIs and OAuth?