oauth.ts ×3
Frontier kind: Code frontier
unlabeled · c_a3b17fb57200
11 tests · 4883 LOC · 22 files · introduces 0 tests · 8 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
- Code
- 3 ranges8 lines · 1 files
- Tests
- 0 tests
Contains — complete concept membership
- All code (extent)
- 588 ranges4883 lines · 22 files · Browse complete extent
- All tests (intent)
- 11 testsBrowse complete intent
Neighbourhood graph
The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.
- Focus concept
- Ancestors (broader)
- Descendants (narrower)
- Introduced files
- Introduced tests
Introduced files, introduced tests, and structurally relevant concept specialization
In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.
Graph controls are ready.
Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.
Native relationship evidence
Every exact file and test below is linked only from the concept that introduces it.
- oauth.ts ×3 — Focused concept Introduced files:
- oauth.test|title=OAuth fetchAuthorizationServerMetadata should handle mix of network error and non-200 response|occurrence=1 — Ancestor (broader) Introduced tests:
- oauth.test|title=OAuth fetchAuthorizationServerMetadata should fallback to OpenID Connect discovery with path addition|occurrence=1 — Ancestor (broader) Introduced tests:
- oauth.ts ×1 — Ancestor (broader) Introduced files: Introduced tests:
- oauth.ts ×1 — Ancestor (broader) Introduced files:
-
oauth.test|title=OAuth fetchAuthorizationServerMetadata should fallback to OpenID Connect discovery with path insertion|occurrence=1, oauth.test|title=OAuth fetchAuthorizationServerMetadata should throw single error (not AggregateError) when only one URL is tried and fails|occurrence=1 — Ancestor (broader)
Introduced tests:
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/oauth.test|title=OAuth fetchAuthorizationServerMetadata should fallback to OpenID Connect discovery with path insertion|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/oauth.test|title=OAuth fetchAuthorizationServerMetadata should throw single error (not AggregateError) when only one URL is tried and fails|occurrence=1
-
oauth.test|title=OAuth fetchAuthorizationServerMetadata should handle 200 response with non-metadata JSON|occurrence=1, oauth.test|title=OAuth fetchAuthorizationServerMetadata should handle valid JSON but invalid metadata structure|occurrence=1 — Ancestor (broader)
Introduced tests:
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/oauth.test|title=OAuth fetchAuthorizationServerMetadata should handle 200 response with non-metadata JSON|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/oauth.test|title=OAuth fetchAuthorizationServerMetadata should handle valid JSON but invalid metadata structure|occurrence=1
- oauth.test|title=OAuth fetchAuthorizationServerMetadata should throw AggregateError when multiple URLs fail with mixed error types|occurrence=1 — Ancestor (broader) Introduced tests:
- oauth.ts ×1 — Ancestor (broader) Introduced files: Introduced tests:
- oauth.ts ×1 — Ancestor (broader) Introduced files: Introduced tests:
- oauth.test|title=OAuth fetchAuthorizationServerMetadata should throw AggregateError when all discovery endpoints fail|occurrence=1 — Ancestor (broader) Introduced tests:
- oauth.ts ×1 — Ancestor (broader) Introduced files:
- oauth.ts ×1 — Descendant (narrower) Introduced files:
- oauth.ts ×3 — Descendant (narrower) Introduced files:
- oauth.ts ×2 — Descendant (narrower) Introduced files:
- oauth.ts ×4 — Descendant (narrower) Introduced files:
- oauth.ts ×19 — Descendant (narrower) Introduced files:
- buffer.ts ×42 — Descendant (narrower) Introduced files:
-
uri.test|title=URI URI#file, win-speciale|occurrence=1, charCode.test|title=CharCode has good values|occurrence=1, +2 — Descendant (narrower)
Introduced tests:
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/charCode.test|title=CharCode has good values|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/path.test|title=Paths (Node Implementation) path|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/uri.test|title=URI File paths containing apostrophes break URI parsing and cannot be opened #276075|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/uri.test|title=URI URI#file, win-speciale|occurrence=1
- utils.ts ×3 — Descendant (narrower) Introduced files:
- lifecycle.ts ×2 — Descendant (narrower) Introduced files:
- lifecycle.ts ×1 — Descendant (narrower) Introduced files:
- lifecycle.ts ×4 — Descendant (narrower) Introduced files:
- lifecycle.ts ×6 — Descendant (narrower) Introduced files:
- lazy.ts ×1 — Descendant (narrower) Introduced files:
- lazy.ts ×3 — Descendant (narrower) Introduced files:
- lifecycle.ts ×1 — Descendant (narrower) Introduced files:
- lifecycle.ts ×1 — Descendant (narrower) Introduced files:
- lifecycle.ts ×1 — Descendant (narrower) Introduced files:
-
map.ts ×97 — Descendant (narrower)
Introduced files:
- src/vs/base/common/arrays.ts
- src/vs/base/common/arraysFind.ts
- src/vs/base/common/assert.ts
- src/vs/base/common/charCode.ts
- src/vs/base/common/collections.ts
- src/vs/base/common/errors.ts
- src/vs/base/common/functional.ts
- src/vs/base/common/iterator.ts
- src/vs/base/common/lifecycle.ts
- src/vs/base/common/map.ts
- src/vs/base/common/marshallingIds.ts
- src/vs/base/common/path.ts
- src/vs/base/common/platform.ts
- src/vs/base/common/process.ts
- src/vs/base/common/types.ts
- src/vs/base/common/uri.ts
- src/vs/base/test/common/utils.ts
- src/vs/nls.ts
Introduced tests
Every collected test enters the hierarchy at exactly one concept.
No tests are introduced at this concept. Its intent tests are introduced by other concepts.
Introduced code
Every collected source range enters the hierarchy at exactly one concept.
1 file ranked by introduced lines: 8 introduced LOC across 3 ranges. Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/base/common/oauth.ts 8 introduced LOC · 3 ranges
return metadata;
}
errors.push(new Error(`Failed to fetch authorization server metadata from ${url}: ${rawResponse.status} ${await getErrText(rawResponse)}`));
return undefined;
} catch (e) {
// Collect error from fetch failure