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

Function refreshItemIdFor

packages/core/sdk/src/oauth-service.ts:193–193  ·  view source on GitHub ↗
(accessId: string)

Source from the content-addressed store, hash-verified

191const accessItemId = (owner: Owner, integration: IntegrationSlug, name: ConnectionName): string =>
192 `oauth:${owner}:${integration}:${name}`;
193const refreshItemIdFor = (accessId: string): string => `${accessId}:refresh`;
194
195/** Order-preserving de-duplication of a scope list. */
196const dedupeScopes = (scopes: readonly string[]): readonly string[] => [...new Set(scopes)];

Callers 1

mintFromTokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected