fix: 完善刷新令牌与联合限流

This commit is contained in:
root
2026-09-14 19:31:51 +08:00
parent 3e04197b02
commit c708205084
6 changed files with 393 additions and 112 deletions
+2 -2
View File
@@ -76,7 +76,7 @@ export class TokenService {
);
}
}
newRefresh(sessionId: string): string {
return `${sessionId}.${randomBytes(32).toString("base64url")}`;
newRefresh(): string {
return randomBytes(32).toString("base64url");
}
}