user:thomas gists created by user
user:thomas
title:mygist gists with given title
title:mygist
filename:myfile.txt gists having files with given name
filename:myfile.txt
extension:yml gists having files with given extension
extension:yml
language:go gists having files with given language
language:go
topic:homelab gists with given topic
topic:homelab
Přihlásit se
Naposledy aktivní 1 week ago
此腳本展示如何在 FastAPI 中同時實作 Authentication(Token 驗證)與 Authorization(Scope 權限)並使用 loguru 進行結構化日誌。 使用 class‑based 依賴注入,支援 users:read 與 system:status 兩種權限範圍。 提供兩個端點:/users/me(一般使用者)與 /admin/system(管理員),可直接以 uvicorn 啟動測試。
Embed
Embed this gist to your website.
Klonovat pomocí HTTP
Klonovat s pomocí Git pomocí základní autentizace HTTP.
Klonovat pomocí SSH
Klonovat s pomocí Git pomocí klíče SSH.
Vytvořeno pomocí Opengist ⋅ Load: 4ms⋅