# @yelon/auth [![CI](https://github.com/hbyunzai/yelon/actions/workflows/ci.yml/badge.svg)](https://github.com/hbyunzai/yelon/actions/workflows/ci.yml) [![Codecov](https://img.shields.io/codecov/c/github/ng-yunzai/yelon.svg?style=flat-square)](https://codecov.io/gh/hbyunzai/yelon) [![NPM version](https://img.shields.io/npm/v/@yelon/auth.svg?style=flat-square)](https://www.npmjs.com/package/@yelon/auth)

Simple user authentication, support Json Web Token & Simple Token.

## Links

+ [Document](https://ng.yunzainfo.com/auth) ([Surge Mirror](https://ng-yunzai-doc.surge.sh/auth)
+ [@yelon Source](https://github.com/hbyunzai/yelon)
+ [DEMO](https://ng-yunzai.surge.sh) ([国内镜像](https://ng-yunzai.gitee.io/))

## Architecture

![Architecture](https://raw.githubusercontent.com/hbyunzai/yelon/master/_screenshot/architecture.png)

## Troubleshooting

Please follow this guidelines when reporting bugs and feature requests:

1. Use [GitHub Issues](https://github.com/hbyunzai/yelon/issues) board to report bugs and feature requests (not our email address)
2. Please **always** write steps to reproduce the error. That way we can focus on fixing the bug, not scratching our heads trying to reproduce it.

Thanks for understanding!

### License

The MIT License (see the [LICENSE](https://github.com/hbyunzai/yelon/blob/master/LICENSE) file for the full text)
