chore: 注释

This commit is contained in:
CrescentLeaf
2025-11-01 00:06:11 +08:00
parent 7409427ce5
commit bd35f5c3eb

View File

@@ -44,7 +44,7 @@ export default class TokenManager {
})
}
/**
* 嚴格檢驗令牌: 時間, 用, (設備 ID)
* 根据时间, 用, 设备 ID (和类型 (默认访问令牌)) 检验令牌
*/
static checkToken(token: Token, deviceId?: string, type: TokenType = 'access_token') {
if (token.expired_time < Date.now()) return false