Skip to content

👮‍♂️A Pythonic way for authenticate GraphQL request👮‍♂️

License

Notifications You must be signed in to change notification settings

radekj/Flask-GraphQL-Auth

 
 

Repository files navigation

Flask-GraphQL-Auth

PyPI version Documentation Status Codacy Badge Build Status Downloads 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!!

About

👮‍♂️A Pythonic way for authenticate GraphQL request👮‍♂️

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%