* Called by the fetch wrapper when a 403 insufficient_scope response is * detected. Setting this causes tokens() to omit refresh_token, forcing * the SDK's authInternal to skip its (useless) refresh path and fall through * to startAuthorization → redirectToAuthorization → step-up persistenc
(scope: string)
| 1466 | * return the same-scoped token and the retry would 403 again. |
| 1467 | */ |
| 1468 | markStepUpPending(scope: string): void { |
| 1469 | this._pendingStepUpScope = scope |
| 1470 | logMCPDebug(this.serverName, `Marked step-up pending: ${scope}`) |
| 1471 | } |
| 1472 | |
| 1473 | async state(): Promise<string> { |
| 1474 | // Generate state if not already generated for this instance |
no test coverage detected