Token Facilitator
Let's generate tokens and store them in redis!
It's pretty simple - we generate a random key associated with some data. That data gets stored as a string in redis.
var data = a: 'one' b: 'two'; var facilitator = redis: client;facilitator ;
You can also set some options! Right now, our options include timeout
and prefix
:
var opts = timeout: 10 //seconds prefix: 'something:' // don't forget that separator!; facilitator ;
License
ISC