egg-passport-yuque

1.1.0 • Public • Published

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.

Package Sidebar

Install

npm i egg-passport-yuque

Weekly Downloads

2

Version

1.1.0

License

MIT

Unpacked Size

7.55 kB

Total Files

6

Last publish

Collaborators

  • akitasummer
  • gxkl
  • gemwuu
  • eggjs-admin
  • fengmk2
  • atian25
  • dead_horse
  • wanghx
  • hyj1991
  • killagu
  • coolme200
  • mansonchor.zzw
  • hubcarl
  • okoala