Skip to main content

JWT library for Flask-GraphQL

Project description

Flask-GraphQL-Auth

PyPI PyPI - Python Version Documentation Status Codacy Badge Build StatusDownloads DownloadsPerMonth codecov

What is Flask-GraphQL-Auth?

Flask-GraphQL-Auth is JWT decorator for flask-graphql inspired from Flask-JWT-Extended. all you have to do to protect your mutation and query with JWT is to create unions with AuthInfoField and decorate resolvers with decorators in Flask-GraphQL-Auth

Features

  • Basic validation of JWT
  • Mutation protectors
  • Query protectors
  • Get JWT data from context stack
  • Insert user claim

Installation

pip install Flask-GraphQL-Auth

Usage

View the documentation online

We are finding contributors!

  • TODO
    • test cases
    • CI&coverage intergration

any PR&issues are welcome!!

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

Flask-GraphQL-Auth-1.3.3.tar.gz (5.8 kB view details)

Uploaded Source

File details

Details for the file Flask-GraphQL-Auth-1.3.3.tar.gz.

File metadata

  • Download URL: Flask-GraphQL-Auth-1.3.3.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.10

File hashes

Hashes for Flask-GraphQL-Auth-1.3.3.tar.gz
Algorithm Hash digest
SHA256 a49b93756c44d0a52bcaaf0c29aac86950b1648c77c17ddedbfe648e7aae1ae2
MD5 9adf8b3785be915ff42ee4d4e3b48cbc
BLAKE2b-256 74f4e98ebe85b8e674c2898a7670049ed38e65f2ef4247b42502f80e3deabe88

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page