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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae94d49221bd5f9c83a5e6ad7aace201c64a545f25f0da18e26bdd5726d5f73e |
|
MD5 | 9794d2701363da9cb93c8f8a47055fb1 |
|
BLAKE2b-256 | 6b4e64ecf30d2c69abf9e3638a3f7e368960c0fcfdc722ed92ad035bf11651e8 |
Close
Hashes for graphene_django_jwt_middleware-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89ef24d1ce30ce79da6d49e15c9dd570028f010d6edb08823e38fc81c3bf821e |
|
MD5 | 0b99ce41d118b23d70b2987b3f72b5c0 |
|
BLAKE2b-256 | b313fa1c4cb0ddd7d3a43eb03145b19f381039b013473ea79563fded911783ec |