Using FastAPI to create custom decorators with variables and incoming payload

前端 未结 0 588
后悔当初
后悔当初 2020-12-22 09:35

I am trying to add a custom decorator to secure fastapi endpoints to list of users. The incoming payload has JWT data in the header and/or cookies.

With out the decor

相关标签:
回答
  • 消灭零回复
提交回复
热议问题