有沒有Rails插件或rubygem,爲您提供了將api添加到Rails應用程序的起點?我們想要使用API密鑰/密鑰模型,API也應該是可版本化的。那裏有東西會給我們一些,如果不是全部的話?用於API Key + Secret Key簽名的Rails插件
15
A
回答
5
4
OAuth plugin可能對鍵有用。它可能看起來像OAuth僅用於用戶身份驗證,但如果您自動生成訪問令牌並將其授予開發人員,而不是使用請求令牌和帳戶授權進行交互式用戶進程,那麼您基本上擁有相當安全的API密鑰系統。而插件將會很好地下降。除此之外,一些很好的rails路由(有條件調用get,post,put等的不同動作,以及/ api/v1 /的前綴)和格式(format.xml,格式)的一些不錯的用法。 .js等)爲構建RESTful API提供了一個相當不錯的方式,而且真的需要一個插件。
相關問題
- 1. Android + Facebook:API KEY和API SECRET在哪裏使用?
- 2. oauth2 without api key
- 3. Google places Api Key
- 4. Rails Association Not Assigning Key
- 5. MySQL KEY/UNIQUE KEY
- 6. 在Android應用程序中使用Stripe secret api key是否安全?
- 7. Mystery Key Value Coding Key
- 8. 關於YouTube API Dev Key的困惑
- 9. Google Maps Api android key
- 10. Google Map javascript api key
- 11. jQuery oembed api key issue
- 12. Zend_Acl和Zend_Auth API key
- 13. api key and id in restful api
- 14. 如何使用.key文件簽名apk文件?
- 15. 什麼是SonarQube插件中的Repository Key?
- 16. 「System.Security.Cryptography.CryptographicException:Bad Key」。對於RSACryptoServiceProvider.Decrypt()
- 17. 在JS中實現OAuth並揭示Consumer Secret和Key很好嗎?
- 18. ReCaptcha key issue.Unable to create key
- 19. Jedis Pub/Sub Key of Key
- 20. ASP.NET'Session.Remove(key)'v/s'Session(key)= Nothing'
- 21. Rails 5 cipher.key「key must be 32 bytes」error
- 22. Python:「Key for Key」瞭解
- 23. Google Maps API -key in gmaps4rails
- 24. Offline_access和Api-Key混淆
- 25. themify google map api key error
- 26. Android API Key for Android Map
- 27. Google雲API的其他API Key證書
- 28. 使用用戶Api-key在rails中生成url
- 29. <key>元素中的key()函數
- 30. SQLite FOREIGN KEY鍵入名稱
這正是我一直在尋找的 – 2010-04-04 18:47:35