vimalloc / flask-jwt-simple

A barebones Flask extension for creating and protecting endpoints with JWT
MIT License
69 stars 12 forks source link

JWT decode audience implementation #1

Closed psyvision closed 7 years ago

psyvision commented 7 years ago

This implements the configuration item JWT_DECODE_AUDIENCE to allow the user to specify an audience to the underlying jwt.decode() parameter.

It passes the tests that I can run with tox (Python 3.6). I've added some simple documentation but you might be able to word this better.

Disclaimer: I'm not a Python dev!

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling a54bca0d2295d283a31f271a1df8b84f680418e2 on psyvision:master into cec7f414a899cf93e126c0dc6ccbd058c8f43e8a on vimalloc:master.

vimalloc commented 7 years ago

You beat me to it. Thanks for contributing! :+1:

vimalloc commented 7 years ago

Released as version 0.0.3. Cheers.