# egg-xc-auth

> oauth and jwt plugin

Latest version **1.0.9** (published 2019-03-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install egg-xc-auth
pnpm add egg-xc-auth
yarn add egg-xc-auth
bun add egg-xc-auth
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.9 |
| Published | 2019-03-04 |
| First published | 2018-10-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8.0.0 |
| Dependencies | 3 |
| Unpacked size | 9.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | xudeping |
| Maintainers | xudeping |
| Keywords | egg, eggPlugin, egg-plugin |

## Links

- npm: https://www.npmjs.com/package/egg-xc-auth
- Repository: https://github.com/eggjs/egg-xc-auth
- Homepage: https://github.com/eggjs/egg-xc-auth#readme
- Issues: https://github.com/eggjs/egg/issues
- npm.io page: https://npm.io/package/egg-xc-auth

## Dependencies (3)

- [egg-jwt](https://npm.io/package/egg-jwt.md) ^3.1.4
- [egg-xc-error](https://npm.io/package/egg-xc-error.md) ^1.0.2
- [egg-xc-redis](https://npm.io/package/egg-xc-redis.md) ^1.1.4

## Recent versions

- 1.0.9 (latest) — 2019-03-04
- 1.0.8 — 2018-11-23
- 1.0.7 — 2018-11-03
- 1.0.6 — 2018-10-31
- 1.0.5 — 2018-10-31
- 1.0.4 — 2018-10-31
- 1.0.3 — 2018-10-30
- 1.0.2 — 2018-10-30
- 1.0.1 — 2018-10-30
- 1.0.0 — 2018-10-30

## README

# egg-xc-auth

[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][codecov-image]][codecov-url]
[![David deps][david-image]][david-url]
[![Known Vulnerabilities][snyk-image]][snyk-url]
[![npm download][download-image]][download-url]

[npm-image]: https://img.shields.io/npm/v/egg-xc-auth.svg?style=flat-square
[npm-url]: https://npmjs.org/package/egg-xc-auth
[travis-image]: https://img.shields.io/travis/eggjs/egg-xc-auth.svg?style=flat-square
[travis-url]: https://travis-ci.org/eggjs/egg-xc-auth
[codecov-image]: https://img.shields.io/codecov/c/github/eggjs/egg-xc-auth.svg?style=flat-square
[codecov-url]: https://codecov.io/github/eggjs/egg-xc-auth?branch=master
[david-image]: https://img.shields.io/david/eggjs/egg-xc-auth.svg?style=flat-square
[david-url]: https://david-dm.org/eggjs/egg-xc-auth
[snyk-image]: https://snyk.io/test/npm/egg-xc-auth/badge.svg?style=flat-square
[snyk-url]: https://snyk.io/test/npm/egg-xc-auth
[download-image]: https://img.shields.io/npm/dm/egg-xc-auth.svg?style=flat-square
[download-url]: https://npmjs.org/package/egg-xc-auth

<!--
Description here.
-->

## Install

```bash
$ npm i egg-xc-auth --save
```

## Usage

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

## Configuration

```js
// {app_root}/config/config.default.js
exports.xudeping = {
};
```

see [config/config.default.js](config/config.default.js) for more detail.

## Example

<!-- example here -->

## Questions & Suggestions

Please open an issue [here](https://github.com/eggjs/egg/issues).

## License

[MIT](LICENSE)

---
_Source: https://npm.io/package/egg-xc-auth · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
