MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / dedupeScopes

Function dedupeScopes

packages/core/sdk/src/oauth-service.ts:196–196  ·  view source on GitHub ↗
(scopes: readonly string[])

Source from the content-addressed store, hash-verified

194
195/** Order-preserving de-duplication of a scope list. */
196const dedupeScopes = (scopes: readonly string[]): readonly string[] => [...new Set(scopes)];
197
198const intersectScopes = (
199 requested: readonly string[],

Callers 3

recordedOAuthScopeFunction · 0.85
capScopesFunction · 0.85
startFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected