读后笔记 -- FastAPI 构建Python微服务 Chapter7:保护 REST API 的安全
摘要:7.2-1 基于用户名/密码 Base64 编码的 Basic 身份验证(实际项目中很少使用) 1)安装库 pip install passlib 2)项目结构 The Application ├── api/ # 接口层 │ └── __init__.py │ └── login.py # rou
阅读全文
posted @
2024-06-22 13:54
bruce_he
阅读(97)
推荐(0) 编辑