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

Function refreshItemIdFor

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

Source from the content-addressed store, hash-verified

326const accessItemId = (owner: Owner, integration: IntegrationSlug, name: ConnectionName): string =>
327 `oauth:${owner}:${integration}:${name}`;
328const refreshItemIdFor = (accessId: string): string => `${accessId}:refresh`;
329
330/** The item a refresh writes to prove the credential store will ACCEPT a write,
331 * before the grant spends the single-use refresh token. It holds no credential

Callers 2

mintFromTokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected