Hi!
I'm using restify with a couple of days but now I not sure if I'm using the
best paths.
The first thing is:
How to use redis to authenticate the user with a id-password and give him a
token with an expiration time to use in that session.
There is anytihng to do with restify or I just have to handle it for myelf?
Second thing.
I'm using restify routes version.
But I'm not user I'm using the best pattern.
I have a routes file that requires all version routes.
There is a good way or maybe I should apply another pattern?
module.exports = function(server) {
require('./v200.js')(server, '2.0.0');
require('./v001.js')(server, '0.0.1');
}
The last thing is about the restify throttle.
I don't understand what burst is.
And how I can use throttle to limit the whole app (appID) just with the
token of each user?
Thanks so much!
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en