openid-redis

A Redis storage backend for the python-openid package
Download

openid-redis Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • Ben Bangert
  • Publisher web site:
  • http://groovie.org/

openid-redis Tags


openid-redis Description

A Redis storage backend for the python-openid package openid-redis is a Redis backend storage module for use with the python-openid package made by JanRain. It implements the OpenIDStore interface and can be plugged directly in.To ensure proper operation, this back-end utilizes the entire python-openid Store test suite and has 100% unit test coverage.IRCI'm usually on Freenode on the #pylons channel, or #pythonpaste as benbangert.Requirements:python-openid: http://pypi.python.org/pypi/python-openid/Python redis library: http://github.com/andymccurdy/redis-pyInstallation:Install python-openid and the redis library, then install openid-redis.easy_install openid-redisUsage:When using python-openid, use the Redis store:from openidredis import RedisStorefrom openid.server import serveropenid_store = RedisStore()openid_server = server.Server(openid_store, 'base_url_here')RedisStore takes several parameters, host, port, db, and a key_prefix to use for storing the keys.openid_store(RedisStore(host='localhost', port=4823, db=0, key_prefix='oid')) Requirements: · Python


openid-redis Related Software