0.0.3 • Published 1 year ago

@hong97/egg-auth v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

egg-auth

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Install

$ npm i egg-auth --save

Usage

// {app_root}/config/plugin.js
exports.auth = {
  enable: true,
  package: 'egg-auth',
};

Configuration

// {app_root}/config/config.default.js
exports.token = {
  // ignore: ''
};
exports.traffic = {
  windowSize: 60 * 1000,
  maxRequest: 1000,
}

see config/config.default.js for more detail.

Example

Questions & Suggestions

Please open an issue here.

License

MIT

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago