dev-manager-tauri/.blueprint/modules/github-auth.md
lanrtop 2ed548556c docs(blueprint): 固化统一 Gitea 双层架构 + 接入包 architect 设计
战略转向统一自建 Gitea、冻结 GitHub;新增 onboarding-pack(两档接入包 + 基线 architect 设计 4 卡)与 gitea-integration(风筝线模型 + webhook);flywheel 转向 git 自吸 + 新增 L0 commit 解析层
2026-06-19 11:39:11 +09:00

26 lines
671 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: github-auth
name: GitHub OAuth
status: deprecated
progress: 100
---
> ❄️ **已冻结2026-06-19**:全面统一自建 Gitea弃用 GitHub。功能保留不删但不再演进新接入走 onboarding-pack / gitea-integration 模块。
## 概述
GitHub OAuth Device Flow 认证,获取 token 后支持 API 操作和 Git 推送。
## 任务卡
### ✅ OAuth Device Flow
- status: done
- files: src-tauri/src/commands/github.rs, src/components/auth/
启动 OAuth 流程、轮询 token、保存账户信息。
### ✅ Token 管理
- status: done
- files: src-tauri/src/commands/github.rs
保存、读取、清除 GitHub token支持登出。