/abacl-redis

Redis driver for ABACL

Primary LanguageTypeScriptMIT LicenseMIT

ABACL - Redis Driver

npm npm Coverage GitHub documentation Build, Test and Publish

ABACL redis storage driver to store policies in your redis.

Quick Start

Installation

npm install --save abacl-redis

Use Redis Driver

import { RedisDriver } from 'abacl-redis';
import { AccessControl } from 'abacl';

const ac = new AccessControl([], { driver: RedisDriver.build(/* Redis | RedisOptions */) });

// OR

const ac = new AccessControl([], { driver: () => RedisDriver.build(/* Redis | RedisOptions */) });

License

MIT