Flask-GraphQL-Auth
What is Flask-GraphQL-Auth?
Flask-GraphQL-Auth is JWT decorator for flask-graphql inspired from Flask-JWT-Extended. all you have to do to protect your mutation and query with JWT is to create unions with AuthInfoField and decorate resolvers with decorators in Flask-GraphQL-Auth
Features
- Basic validation of JWT
- Mutation protectors
- Query protectors
- Get JWT data from context stack
- Insert user claim
Installation
pip install Flask-GraphQL-Auth
Usage
We are finding contributors!
- TODO
- test cases
- CI&coverage intergration
any PR&issues are welcome!!
Metadata
Release files for Flask-GraphQL-Auth 1.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Flask-GraphQL-Auth-1.3.3.tar.gz | 5.8 kB | Details |
Release files / Flask-GraphQL-Auth-1.3.3.tar.gz
| Download URL | Flask-GraphQL-Auth-1.3.3.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a49b93756c44d0a52bcaaf0c29aac86950b1648c77c17ddedbfe648e7aae1ae2
|
|
BLAKE2b-256 checksum How to use checksums |
74f4e98ebe85b8e674c2898a7670049ed38e65f2ef4247b42502f80e3deabe88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.10
|