Skip to content

Commit

Permalink
chore: annotate jwt_auth.py
Browse files Browse the repository at this point in the history
  • Loading branch information
billyrrr committed May 10, 2023
1 parent 8885075 commit ae726e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/jwt_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,12 @@
normal circumstances, you will not need to use this field, but if you want to
protect your Flasgger page in order to prevent unauthorized access to it by
using basic HTTP auth on some web-server you will have to.
NOTE (May 9, 2023): Python 3.11 not supported by this script
(suspected flask_jwt incompatibility with python 3.11)
"""


import hmac
from flask import Flask, jsonify, request
from flask_jwt import JWT, jwt_required, current_identity, JWTError
Expand Down

0 comments on commit ae726e6

Please sign in to comment.