openid_mongodb_store ruby Rubygems

MongoMapper store for OpenID associations

6 years after

= Openid MongoDB Store

OpenID requires some form of storage for its various cryptographic nuts and bolts. This project lets you use MongoDB (through the Mongo Ruby library) for that storage. This was pretty largely taken from the ActiveRecord adaptor.

== Install

gem install openid_mongodb_store

db = Mongo::Connection.new('localhost').db('testorama') db.authenticate('foo','bar') OpenidMongodbStore::Store.new(db)

== Demo

git clone git://github.com/samsm/openid_mongodb_store.git
cd openid_mongodb_store
bundle install
# have mongodb running
shotgun
open http://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

Copyright (c) 2009 Sam Schenkman-Moore. See LICENSE for details.


Top Contributors

samsm

Releases

-   v0.3.0 zip tar