用于 API Key + Secret Key 签名的 Rails 插件 [英] Rails plugin for API Key + Secret Key signing

查看:51
本文介绍了用于 API Key + Secret Key 签名的 Rails 插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有 Rails 插件或 ruby​​gem 可以为您提供将 api 添加到 Rails 应用程序的起点?我们要使用 API Key/Secret Key 模型,API 也应该是可版本化的.有什么东西可以给我们一些,如果不是全部的话?

Is there a Rails plugin or a rubygem that gives you a starting point for adding an api to your Rails app? We want to use the API Key/Secret Key model, the API should also be versionable. Is there something out there that will give us some, if not all of this?

推荐答案

查看这个 AuthLogic 插件:

Check out this plugin for AuthLogic:

http://github.com/phurni/authlogic_api

我认为这符合您的要求.

I think that does what you are looking for.

这篇关于用于 API Key + Secret Key 签名的 Rails 插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆