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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff36651c3df8369e2a28b4abb32b8083a2a2effd9e5ce08c034d2a176bd2df9f |
|
MD5 | 587a84c0f6d8069ab7f299a5dc449352 |
|
BLAKE2b-256 | d0ad32410cc706742288c0d18eab0ed9adaaab90af0e536825aa41c3c4e9ea43 |
Close
Hashes for graphene_django_jwt_middleware-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1c49384eeeeb0024ef4ff187c8612382c6c3bd0cd66f3fd02680e6e90860c24 |
|
MD5 | 860a895ddfa5f367912fb0bfc17fe3ad |
|
BLAKE2b-256 | 103a9c535efefbd42f40c5942a2020bb1a60584639f043723ef42c661a4b40df |