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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5498523f0489e601a4520a6c890c9b216eb089b45324438cdc4adff6e8a1025 |
|
MD5 | 3fbe117b7832ca67f2b29326d0aa78ec |
|
BLAKE2b-256 | 859dd1b7040306a1efe6bdedadf0adbffb2147fdea8092da4cc251e313db4d78 |
Close
Hashes for graphene_django_jwt_middleware-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab7a6d5253b638decfa3ee624f157860c0e0c28aecccbdf58d03f52a5aef78ec |
|
MD5 | 8e3e2efc1997056f1911ba1dd903be1e |
|
BLAKE2b-256 | 35c843f5ae63b3388388b9e5c700e44a4ab3d4ea99ce2fca8b2de844c982d51b |