egg-passport-yuque
v1.1.0
Published
yuque passport plugin for egg
Downloads
8
Readme
egg-passport-yuque
yuque passport plugin for egg, base YuQue's OAuth API.
Example
See https://github.com/eggjs/examples/tree/master/passport
Install
$ npm i egg-passport-yuque --save
Usage
// config/plugin.js
exports.passportYuque = {
enable: true,
package: 'egg-passport-yuque',
};
Configuration
// config/config.default.js
exports.passportYuque = {
key: 'your oauth key',
secret: 'your oauth secret',
};
see config/config.default.js for more detail.
APIs
See egg-passport apis https://github.com/eggjs/egg-passport#apis
Questions & Suggestions
Please open an issue here.
License
Contributors
|fengmk2|okoala| | :---: | :---: |
This project follows the git-contributor spec, auto updated at Wed May 08 2019 21:03:00 GMT+0800
.