Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

裝飾器

r1235613 edited this page Aug 8, 2019 · 2 revisions

裝飾器清單與說明:

login_required (未完工)

@auth_tools.login_required

本裝飾器驗證使用者是否登入,藉由Header auth中的jwt令牌來判斷,會檢測簽章是否有效、令牌是否已被撤銷

Clone this wiki locally