(scope: "all" | "client" | "tokens" | "verifier" | "discovery")
| 153 | } |
| 154 | |
| 155 | invalidateCredentials(scope: "all" | "client" | "tokens" | "verifier" | "discovery"): void { |
| 156 | if (scope === "all") this.store = {} |
| 157 | else if (scope === "client") delete this.store.clientInformation |
| 158 | else if (scope === "tokens") delete this.store.tokens |
| 159 | else if (scope === "verifier") delete this.store.codeVerifier |
| 160 | else if (scope === "discovery") delete this.store.discoveryState |
| 161 | writeAuthStore(this.serverName, this.store) |
| 162 | } |
| 163 | |
| 164 | /** Open the user's browser to the authorization URL and capture it so the |
| 165 | * caller can surface it in the TUI (with copy + paste fallback). */ |
nothing calls this directly
no test coverage detected