An approach for implementing access control for your REST API.

Access Control for Your RESTful API
wuher-random.blogspot.com