flask-jwt-router
flask-jwt-router copied to clipboard
Flask JWT Router is a Python library that adds authorised routes to a Flask app.
Jetbrains intelli sense not working on Google class
https://github.com/joegasewicz/flask-jwt-router/blob/696d0add2bb175664a00cddf34321bf01df21456/flask_jwt_router/_routing.py#L187
https://github.com/joegasewicz/flask-jwt-router/blob/696d0add2bb175664a00cddf34321bf01df21456/flask_jwt_router/oauth2/http_requests.py#L51 They are identical, remove one.
Extend the expire options to include all pyjwt's kwargs, eg. minutes, hours, days, months .etc
Extensions entity_key currently serves only a single model. As we are able to pass in multiple models, this needs to be moved to a kwarg when creating or updating a...
Should automatically update the setups.py file with the release version, run the build and push to pypi..
This is our current public api for declaring whitelist routes: ``` app.config["WHITE_LIST_ROUTES"] = [ ("POST", "/auth/user"), ("POST", "/auth/user/login"), ("POST", "/auth/teacher"), ("POST", "/auth/teacher/login"), ] ``` This could be a decorator instead...
This is our current public api for declaring ignored routes routes: ``` app.config["IGNORED_ROUTES"] = [("GET", "/")] ``` This could be a decorator instead ``` @jwt_routes.ignore_routes ```