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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file fastapi-simple-jwt-0.1.1.tar.gz
.
File metadata
- Download URL: fastapi-simple-jwt-0.1.1.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca48fac686c67aa034c2286b6fbf23f253570fe8ab49e39e0379a6f656607cde |
|
MD5 | a940bf713825c0da8735c9f3ce991341 |
|
BLAKE2b-256 | 2aa33ae8dc613404073a9452b1fc5fd472cd7214065d064cc2f4eb5b5557ed07 |
File details
Details for the file fastapi_simple_jwt-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: fastapi_simple_jwt-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 973430d2e4db64c664879501b8c81f6ab0fc026f4791a750c2cf4e84da708292 |
|
MD5 | 87dc7a6abe6f28a8fa336b74be3dfd4e |
|
BLAKE2b-256 | 125a3c1dec6495cb2166708b3b2d3c5c6912e3ecd0ba2c4d93a1b52261927047 |