search for: how_to_make_an_api_

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

2009 May 30
2
Generating and authenticating by API keys
...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 passwords), 3. authenticating via API keys in a filter (perhaps something along the lines of option 2 here http://www.whatcodecraves.com/articles/2008/11/25/how_to_make_an_api_for_a_rails_app/). Unfortunately, the authentication lib is custom (I would much prefer to be working with one of the community adopted plugins such as Authlogic, which appears to have API key authentication anyway). Am I missing anything or does that sound like a reasonable starting point? -- Po...