See how to handle authentication and custom actions using ActiveResource in this episode.

Read more at the source