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
Close
Hashes for graphene-django-jwt-middleware-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94a0684a95686a3f1fbeab72f9b129ed3301474669c289a968b5694262aa124a |
|
MD5 | a22da6fa747bc4b8ec5cc3e5cdd95884 |
|
BLAKE2b-256 | 4b6931827e86c768241ef549a2745f437916fe180e8f52e8da634e7b4873f822 |
Close
Hashes for graphene_django_jwt_middleware-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 084f87b4194b21f3f9a113793eb25289d822a2617392c8ac68cae6b11f94680a |
|
MD5 | a62de3f723ffeb48cd3036839a3ee31c |
|
BLAKE2b-256 | 374f0bf7160f4653a635db3193c1fc51d3ef82d11117208f92a127482e5465ad |