Token架构优化:防重放攻击清除token、防重复forceLogout、refreshToken空值防御

This commit is contained in:
2026-04-16 13:12:35 +08:00
parent 8d0ce203ef
commit 5904d209fd
7 changed files with 55 additions and 21 deletions

View File

@@ -33,7 +33,7 @@ class ApiEndpoints {
/// 退出登錄
static const String logout = '/api/user/logout';
/// 刷新 Token(後端尚未實現,預留接口)
/// 刷新 Token
static const String tokenRefresh = '/api/auth/refresh';
// ==================== 行情模塊 ====================