Middleware to check JWT validation in GraphQL schemas
Project description
Graphene Django JWT Middleware
This is a Graphene Django middleware to check JWT in GraphQL schemas.
Installing
with pipenv:
pipenv install graphene-django-jwt-middleware
or poetry:
poetry add graphene-django-jwt-middleware
Usage
In your django settings.py file, find GRAPHENE configuration and insert at the MIDDLEWARE section:
...
GRAPHENE = {
"SCHEMA": "...",
'MIDDLEWARE': [
'graphene_django_jwt_middleware.middleware.JWTAuthorizationMiddleware'
]
}
...
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file graphene_django_jwt_middleware-0.0.7.tar.gz.
File metadata
- Download URL: graphene_django_jwt_middleware-0.0.7.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.8.14 Linux/5.15.0-1022-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5498523f0489e601a4520a6c890c9b216eb089b45324438cdc4adff6e8a1025
|
|
| MD5 |
3fbe117b7832ca67f2b29326d0aa78ec
|
|
| BLAKE2b-256 |
859dd1b7040306a1efe6bdedadf0adbffb2147fdea8092da4cc251e313db4d78
|
File details
Details for the file graphene_django_jwt_middleware-0.0.7-py3-none-any.whl.
File metadata
- Download URL: graphene_django_jwt_middleware-0.0.7-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.8.14 Linux/5.15.0-1022-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab7a6d5253b638decfa3ee624f157860c0e0c28aecccbdf58d03f52a5aef78ec
|
|
| MD5 |
8e3e2efc1997056f1911ba1dd903be1e
|
|
| BLAKE2b-256 |
35c843f5ae63b3388388b9e5c700e44a4ab3d4ea99ce2fca8b2de844c982d51b
|