josephg/ShareJS — pull request #52 by thegoleffect (2012-01-05 22:01:49+00:00)
Title: support for redis.auth

usage example:

_ = require("underscore")
url = require("url")
redisconfig = url.parse("redis://username:password@hostname:port/")

options = {
db: {
type: "redis"
}
}
_.extend(options.db, redisconfig) # options.db.auth is set to username:password [1]

sharejs.attach(server, options)

[1] You can also set options.db.auth to password and it will work since redis does not require usernames.