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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90b37dc058c881768b14017f37e2a317ff398e9c642336db2739913cdb923044 |
|
MD5 | 0f20093557109b684e74a10e4cf65fde |
|
BLAKE2b-256 | b73d9fbe900ac7bbf455d1c529c9fbc6e21b2d0af03ef2abd8beeaf7461b3eb9 |
Close
Hashes for graphene_django_jwt_middleware-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8dd1d472bd45a660a55b1c1d62008e3c75677f985c084181842b6037013f0d1 |
|
MD5 | 48f45d6764bb6b1108d88320fdbe6bc2 |
|
BLAKE2b-256 | 777f332fc6fd8df48be086948a6642f4f347853449443f87f636d8a324d285db |