Skip to content

Commit 7f4ab38

Browse files
committed
feat: 添加SECTL OAuth认证系统
实现完整的SECTL OAuth认证流程,包括: 1. 新增认证服务模块,支持PKCE流程 2. 添加Token管理器和安全存储 3. 实现多平台回调处理(Web/Android/桌面) 4. 集成用户信息获取和会话管理 5. 添加账户设置界面和登录状态管理 6. 配置各平台深度链接和回调处理 7. 包含完整的测试用例和模拟服务器
1 parent 1ba3964 commit 7f4ab38

35 files changed

Lines changed: 3171 additions & 2 deletions

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,6 @@ upload-keystore-base64.txt
6565
*.backup
6666
.wrangler
6767
.claude
68+
IMPLEMENTATION_REPORT.md
69+
SECTL_INTEGRATION.md
70+
TESTING_GUIDE.md

android/app/src/main/AndroidManifest.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@
2424
<action android:name="android.intent.action.MAIN"/>
2525
<category android:name="android.intent.category.LAUNCHER"/>
2626
</intent-filter>
27+
<!-- Deep Link for OAuth callback -->
28+
<intent-filter>
29+
<action android:name="android.intent.action.VIEW"/>
30+
<category android:name="android.intent.category.DEFAULT"/>
31+
<category android:name="android.intent.category.BROWSABLE"/>
32+
<data android:scheme="secrandom"
33+
android:host="auth"
34+
android:pathPrefix="/callback"/>
35+
</intent-filter>
2736
</activity>
2837
<!-- Don't delete the meta-data below.
2938
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->

0 commit comments

Comments
 (0)