(token: string)
| 412 | * Record that a command was executed by this token. |
| 413 | */ |
| 414 | export function recordCommand(token: string): void { |
| 415 | const info = tokens.get(token); |
| 416 | if (info) info.commandCount++; |
| 417 | } |
| 418 | |
| 419 | /** |
| 420 | * Revoke a token by client ID. Returns true if found and revoked. |
no test coverage detected