Mobiquity interview question

How you implemented authentication and authorization in REST?