- 使用 SHA256 哈希代替原始 token 作为 Key - 使用 JSON 格式存储 value,避免解析问题 - 添加输入验证 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
设计 Redis Token 黑名单功能,用于账号封禁和强制下线场景。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>