开发者

ruby on Rails Rest Api + oAuth

hello dear developers! what are benefits of using rest api + oAuth in Rails 开发者_开发问答3 ?

where I can find a code examples of authentication (server + client)

Maybe I should use some different authenication ? The main Idea is that clients can buy goods via restfull queries and I should provide the highest level of reliability


Not a direct answer but a slight "redirect": Check out the omniauth gem.

Home: https://github.com/intridea/omniauth

A fork of the main repository, but more up to date right now: https://github.com/benschwarz/omniauth

While I usually don't like gems because they often cause more trouble than benefit authentication code usually does not get better when I write it myself, and this gem is pretty much standard and very widely used.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜