Bynarylogic's authlogic has gained much popularity for its out of the box solution to ruby on rails authentication. Yesterday, I was working on giving API access to my ruby on rails application so that other apps can use my RESTful services. The authenticated API access usually involves the following steps:
- API_KEY or a token to identify/authenticate an API call.
- Authentication of an API caller using the API_KEY.
Authlogic comes with in-built support for this. The following steps will do it for you:
Comments
Thanks the clear explanation about single_access_token, I was looking for.