Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carbonfive/devise-api-authenticatable
API key based authentication strategy for devise
https://github.com/carbonfive/devise-api-authenticatable
Last synced: about 1 month ago
JSON representation
API key based authentication strategy for devise
- Host: GitHub
- URL: https://github.com/carbonfive/devise-api-authenticatable
- Owner: carbonfive
- Created: 2011-08-08T18:37:47.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-08-08T18:38:46.000Z (over 13 years ago)
- Last Synced: 2024-04-15T12:18:27.286Z (9 months ago)
- Language: Ruby
- Homepage:
- Size: 79.1 KB
- Stars: 3
- Watchers: 84
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A device strategy for api key based authentication.
Clients supply a client identifier which is issued a unique and reusable api key for each user who authenticates from that client. The rails application may then allow users to manage their authorized api keys in order to control which clients are allowed to access their account.
Clients are expected to communicate with the rails application via a JSON api. This api will respond with JSON payloads rather than redirects if a user in not authenticated or fails authentication in order to better support mobile clients on high latency connections where following redirects to reach an authentication action is expensive.
It is the rails application's responsibility to define an appropriate storage mechanism for valid api keys such as persistant storage in a database or temporary storage in a session store.