flask-jwt-auth
Package for an authorization functionality using JWT for Flask framework.
Settings:
To decode token from another Auth API it's neccessary to set Flask JWT_SECRET_KEY env. It also could be required to set JWT_AUDIENCE env (default value is "http://localhost:5000/")
Available functions:
- decode_jwt_token - to get JWT payload
- get_current_user - to get user username or ID (
subparameter in JWT) - jwt_required - decorator to validate JWT token and protect desired endpoints
Metadata
Release files for simporter-e0967f3e095ce309 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| simporter-e0967f3e095ce309-0.1.2.tar.gz | 3.2 kB | Details |
Release files / simporter-e0967f3e095ce309-0.1.2.tar.gz
| Download URL | simporter-e0967f3e095ce309-0.1.2.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
32a0483dfa5cdbdb14e97eec587d74c1ab072047c41d90a64eb663fdc524c74d
|
|
BLAKE2b-256 checksum How to use checksums |
cd3688b0d8dbb7c7c74d128609f8aad5264af170553c75d3ea985e4ecbfd4f9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.2
|