(scopes: readonly string[])
| 672 | const MAX_DISCOVERY_AUTH_SERVERS = 3; // AS-failover lists are tiny in practice |
| 673 | const MAX_DISCOVERED_SCOPES = 100; // far beyond any realistic authorization template |
| 674 | const capScopes = (scopes: readonly string[]): readonly string[] => |
| 675 | dedupeScopes(scopes).slice(0, MAX_DISCOVERED_SCOPES); |
| 676 | |
| 677 | // Bound a whole discovery sequence (PRM + up to MAX_DISCOVERY_AUTH_SERVERS AS |
| 678 | // fetches, each with its own request timeout). 30s is larger than a single |
no test coverage detected