flask_jwt_auth
Introduction
Getting Started
Example
Contributors
License
Introduction
This module contains a simple class to implement authentication and authorization in a Flask app using JSON Web Token (JWT)Getting Started
In order to install, open the command prompt and type ✌️:pip install flask_jwt_auth
In order to import:
from flask_jwt_auth import AuthFilters
Token Validation using an SQL Database
This library supports using an SQL database for token validation. The basic idea is that you store all your tokens in DB, and flag the invalidated tokens (e.g. when a user logs out). To use this feature: - Set the environment variable containing the DB connection string, called `JWT_SESSION_TOKEN_DB_URI`. - Create a table in that DB, called `session_token`. It must have the following fields: - `access_token` : string - `refresh_token` : string - `is_invalid` : booleanContributors
This project exists thanks to all the people who contribute. [Contribute]. ""
License
This library is licensed under the MIT License - see the LICENSE.md file for details.
Metadata
Release files for flask-jwt-auth 0.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flask_jwt_auth-0.0.10.tar.gz | 3.9 kB | Without provenance | Details for flask_jwt_auth-0.0.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flask_jwt_auth-0.0.10-py3-none-any.whl | Python 3 | none | any | Details for flask_jwt_auth-0.0.10-py3-none-any.whl |
Total release size: 8.0 kB
Release files / flask_jwt_auth-0.0.10.tar.gz
| Download URL | flask_jwt_auth-0.0.10.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f149118a8d739d2c3ff48fe6b95dd9dac6dc4a8888e16dc84d3163670b5c642b
|
|
BLAKE2b-256 checksum How to use checksums |
1231702111a28d189704d17077561f1221178c76921e403331cd605fd8b3f6db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|
Release files / flask_jwt_auth-0.0.10-py3-none-any.whl
| Download URL | flask_jwt_auth-0.0.10-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b876f74c43006ace2bc05f7282589501574fff21513fbe42b50e5fa26d9c8a7d
|
|
BLAKE2b-256 checksum How to use checksums |
6f2ea82df2d236bdf42c623ea7570a850f9b0024e5e37720cb641e9c1d414b6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|
Security for flask-jwt-auth 0.0.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.