forcefield
is a Rack middleware for verifying incoming requests are correctly signed using the OAuth 1.0 RFC#3.2 protocol
Although this code was extracted from a real project. This code and the code shown in the accompanying blog post exist for the sole purpose of demonstrating how easy it is to secure your API's endpoints using Rack middleware.
- Rack Documentation: http://rack.rubyforge.org/doc/
- OAuth 1.0 RFC: http://tools.ietf.org/html/rfc5849
I would NOT recommend using for anything other than a starting point. It is intended for learning purposes only.
But, it is MIT, and you can read about it in LICENSE.txt