chriso / redback

A high-level Redis library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

authentication

akshaykarthik opened this issue · comments

One thing that I found lacking in this library was support for node_redis' authentication.
Sadly, this is a requirement at the work server and as such, I was unable to use this library.

As far as I can see, if this project utilizes node_redis, then maybe you can filter an auth method from redback to client.auth(password,callback)from node_redis

Hey, Redback does use node_redis as a client ;) You can access the client through the redback object or through any of your structures, e.g.

var redback = require('redback').createClient();
redback.client.auth('password', function (err) {
    //etc.
});

Oh wow, cool thank you so much!

On Fri, Jun 17, 2011 at 9:05 PM, chriso <
reply@reply.github.com>wrote:

Hey, Redback uses node_redis as a client. You can access the client through
the redback object, or any of your structures, e.g.

var redback = require('redback').createClient();
redback.client.auth('password', function (err) {
   //etc.
});

Reply to this email directly or view it on GitHub:
#7 (comment)