4.1.0 • Published 2 years ago

@ersinfotech/restrict v4.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Restrict

ERS auth middleware

Installation

$ npm i --save ersinfotech/restrict

API

var express = require('express');
var Restrict = require('@ersinfotech/restrict');

var app = express();
var restrict = Restrict({
	baseUrl: 'http://authUrl',
	oauth: {
		crypt_key: 'crypt_key'
		sign_key: 'sign_key'
		accessTokenTTL: 12 * 60 * 60 * 1000
	},
});

app.use(restrict());

License

MIT

4.1.0

2 years ago

4.0.0

2 years ago

3.0.0

4 years ago

2.0.0

5 years ago

1.3.0

5 years ago

1.2.0

6 years ago

1.1.0

7 years ago

1.0.0

8 years ago

0.2.0

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago