(scopes: readonly string[])
| 525 | const MAX_DISCOVERY_AUTH_SERVERS = 3; // AS-failover lists are tiny in practice |
| 526 | const MAX_DISCOVERED_SCOPES = 100; // far beyond any realistic authorization template |
| 527 | const capScopes = (scopes: readonly string[]): readonly string[] => |
| 528 | dedupeScopes(scopes).slice(0, MAX_DISCOVERED_SCOPES); |
| 529 | |
| 530 | // Discover the scopes to request when the integration declares none — only |
| 531 | // reached for integrations that opt in (MCP-style). The resource's own RFC |
no test coverage detected