Files
api/src/dependencies/jwt.py
T
2023-06-05 09:55:17 +02:00

11 lines
242 B
Python

# from fastapi import Depends, Security
# from fastapi_jwt import JwtAuthorizationCredentials
#
#
# async def check_jwt_token():
# authorize.jwt_required()
#
# subject = authorize.get_jwt_subject()
#
# print("Subject: ", subject)