VGS interview question

Describe how OAuth works?