You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

openid_mongodb_store

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openid_mongodb_store

0.3.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

= 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.

FAQs

Package last updated on 23 May 2011

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts