Skip to main content

A simple FastAPIJWT verification module

Project description

fastapi-simple-jwt

一个FastApi简单的jwt验证

参考了官方文档修改而成

https://fastapi.tiangolo.com/zh/tutorial/security/first-steps/

前端可搭配Pure-admin使用

https://github.com/pure-admin/vue-pure-admin

安装

pip install fastapi-simple-jwt

使用

确保运行目录下有.env文件,secret_key可使用 openssl rand -hex 32 生成

pip install -r requirements.txt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastapi-simple-jwt-0.1.1.tar.gz (7.1 kB view hashes)

Uploaded Source

Built Distribution

fastapi_simple_jwt-0.1.1-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page