MCPcopy Create free account
hub / github.com/agent-tower/core / firstHeaderValue

Function firstHeaderValue

packages/server/src/middleware/access-auth.ts:9–11  ·  view source on GitHub ↗
(value: string | string[] | undefined)

Source from the content-addressed store, hash-verified

7 validateInternalApiToken,
8} from '../utils/internal-api-token.js';
9import { parsePreviewPath } from '../utils/preview-path.js';
10import {
11 AGENT_API_CREDENTIAL_HEADER,
12 type AgentApiCredentialIdentity,
13 validateAgentApiCredential,
14} from '../utils/agent-api-credential.js';

Callers 2

hasValidSameOriginSignalFunction · 0.70
accessAuthHookFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected