8.2.1 • Published 2 years ago
brightspace-auth-keys-redis-store v8.2.1
brightspace-auth-keys-redis-store
Redis-backed public key store implementation for brightspace-auth-keys.
Install
npm install brightspace-auth-keys brightspace-auth-keys-redis-store --save
Usage
const KeyGenerator = require('brightspace-auth-keys').KeyGenerator;
const redis = require('redis');
const RedisPublicKeyStore = require('brightspace-auth-keys-redis-store');
module.exports = new KeyGenerator({
publicKeyStore: new RedisPublicKeyStore(
redis.createClient()
),
// see brightspace-auth-keys for the full set of options
});