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

Function normalizeMcpAuthMethods

packages/plugins/mcp/src/sdk/types.ts:162–168  ·  view source on GitHub ↗
(
  methods: readonly McpAuthMethodInput[],
)

Source from the content-addressed store, hash-verified

160 * kind/carrier-derived default, suffixed `_2`, `_3`, … on collision. The
161 * request-shaped dialect is expanded to canonical placements first. */
162export const normalizeMcpAuthMethods = (
163 methods: readonly McpAuthMethodInput[],
164): readonly McpAuthMethod[] =>
165 normalizeAuthMethodSlugs(
166 expandMcpAuthMethodInputs(methods),
167 defaultMcpAuthSlug,
168 ) as readonly McpAuthMethod[];
169
170// ---------------------------------------------------------------------------
171// Integration config — the opaque blob stored on the integration row. A

Callers 2

toIntegrationConfigFunction · 0.90
configureAuthFunction · 0.90

Calls 2

normalizeAuthMethodSlugsFunction · 0.90

Tested by

no test coverage detected