0.0
No commit activity in last 3 years
No release in over 3 years
A Rack middleware and Railtie(for Rails3) for API key authentication.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
~> 2.5

Runtime

>= 0
 Project Readme

Simple API Key Authentication

A Rack middleware and Railtie(for Rails3) for API key authentication. It will authenticate all requests to /api/*

Usage

Gemfile

gem "simple_api_auth"

config/api_key.yml

api_key: you_api_key

Generate a random API key

rake generate

Run spec

bundle exec rspec spec

License

Copyright © 2011 Wen-Tien Chang Licensed under the MIT: http://www.opensource.org/licenses/mit-license.php