Skip to content

eggjs-community/egg-passport-yuque

 
 

Repository files navigation

egg-passport-yuque

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

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

MIT

Contributors


fengmk2


okoala

This project follows the git-contributor spec, auto updated at Wed May 08 2019 21:03:00 GMT+0800.