(flowId: string)
| 81 | } |
| 82 | |
| 83 | private clearCompleted(flowId: string): void { |
| 84 | const existing = this.completed.get(flowId); |
| 85 | if (!existing) return; |
| 86 | |
| 87 | if (existing.cleanupTimeout !== null) { |
| 88 | clearTimeout(existing.cleanupTimeout); |
| 89 | } |
| 90 | |
| 91 | this.completed.delete(flowId); |
| 92 | } |
| 93 | |
| 94 | /** Get a flow entry by ID, or undefined if not found. */ |
| 95 | get(flowId: string): OAuthFlowEntry | undefined { |