flask-jwt-simple
flask-jwt-simple copied to clipboard
Add equivalent of verify_jwt_in_request() from flask-jwt-extended library
Hi, I'm using the *-simple library because I needed more control over the claims that are in the JWT, but I'm struggling to write decorators that filter by permissions (e.g. role-required decorator) due to a lack of "Verify Tokens in Request" methods. I was wondering if a non decorated version of jwt_required could be added
Sure thing. It should not be hard to break those into a help function and export them like what was done with the extended version of the library. If you want to take a stab at that and submit a pull request I would be happy to work with you to get it merged and a new release cut. Otherwise I can see about adding it in the near future when I have some free time on my hands :+1: