Openid Couchdb Store

A store for OpenID using CouchDB. Right now depends on CouchRest, will try to to kick that dependency later.

Install

gem install openid_couchdb_store

db = Mongo::Connection.new(‘localhost’).db(‘testorama’) db.authenticate(‘foo’,‘bar’) OpenidCouchdbStore::Store.new(db)

Demo

“‘ git clone git://github.com/samsm/openid_couchdb_store.git cd openid_couchdb_store bundle install # have couchdb running shotgun open localhost:9292/ “`

Shotgun reloads the application each request, providing a nice sanity check. OpenID library can normally do nonce/association storage in memory, so shotgun is a little extra proof that it’s really working.

Copyright © 2010 Sam Schenkman-Moore. See LICENSE for details.