search for: find_by_api_key

Displaying 1 result from an estimated 1 matches for "find_by_api_key".

2009 May 30
2
Generating and authenticating by API keys
I''m trying to get my head round offering up an API for a RESTful app; is it just a matter of; 1. adding an api_key column to the resource on which incoming requests will made (the app has a User model but I think the API authentication will need to be done on the Site model to which Users belong), 2. generating the API key using Digest::SHA1 or similar (the last dev used SHA1 for the