Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simple Redis store for OpenID
Ruby
Branch: master

This branch is 3 commits behind dekart:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
.gitignore
README.md
Rakefile
openid-redis-store.gemspec

README.md

Redis Store for OpenID

This is a simple store for OpenID authentication.

Requirements

Requires ruby-openid, redis Ruby library and Redis 2.x.x.

Usage

1) Install the plugin:

./script/plugin install git://github.com/dekart/openid-redis-store.git

2) Set your OpenID store (for Rails put this to a new file in config/initializers):

# Initializing Redis client
redis_client = Redis.new(
  :host => "127.0.0.1",
  :port => "",
  :db   => 0
)

OpenIdAuthentication.store = OpenID::Store::Redis.new(redis_client)

Testing

No tests yet :( You can fork this plugin at GitHub (http://github.com/dekart/openid-redis-store) and add your own tests. I'll be happy to accept patches!

Credits

Written by Alex Dmitriev

Something went wrong with that request. Please try again.