TCS interview question

About Rest API and OAuth 2.0