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

Function scopeParameter

packages/core/sdk/src/oauth-helpers.ts:1460–1461  ·  view source on GitHub ↗
(scopes: readonly string[] | undefined)

Source from the content-addressed store, hash-verified

1458): Effect.Effect<OAuth2TokenResponse, OAuth2Error> => {
1459 const requestedScopes = input.scopes && input.scopes.length > 0 ? input.scopes : undefined;
1460 const scopeParameter = (scopes: readonly string[] | undefined): string | undefined =>
1461 scopes === undefined ? undefined : scopes.join(input.scopeSeparator ?? " ");
1462
1463 const attempt = (
1464 scopes: readonly string[] | undefined,

Callers 1

attemptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected