Skip to main content

JWT library for Flask-GraphQL

Project description

Flask-GraphQL-Auth

PyPI 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.0.tar.gz (5.7 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: Flask-GraphQL-Auth-1.3.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2

File hashes

Hashes for Flask-GraphQL-Auth-1.3.0.tar.gz
Algorithm Hash digest
SHA256 cadeed4663d26d4fc3e58582a4d81d179f15599c6d0c9b7578b9f7607432e5d9
MD5 de060203f5df73e8c73001047e96b9ce
BLAKE2b-256 debe8e4d122c33e88b0d83fa81564ec6cdb8e55c8ae7f70c5fb95c2d8de34518

See more details on using hashes here.

Supported by

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