(io: AuthIo | undefined, text: string)
| 560 | } |
| 561 | |
| 562 | function writeStderr(io: AuthIo | undefined, text: string): void { |
| 563 | (io?.stderr ?? process.stderr).write(text); |
| 564 | } |
| 565 | |
| 566 | function isExpired(expiresAt: string | undefined, now: (() => number) | undefined): boolean { |
| 567 | if (!expiresAt) return false; |
no test coverage detected