()
| 1471 | } |
| 1472 | |
| 1473 | async state(): Promise<string> { |
| 1474 | // Generate state if not already generated for this instance |
| 1475 | if (!this._state) { |
| 1476 | this._state = randomBytes(32).toString('base64url') |
| 1477 | logMCPDebug(this.serverName, 'Generated new OAuth state') |
| 1478 | } |
| 1479 | return this._state |
| 1480 | } |
| 1481 | |
| 1482 | async clientInformation(): Promise<OAuthClientInformation | undefined> { |
| 1483 | const storage = getSecureStorage() |
no test coverage detected