MCPcopy
hub / github.com/MetaCubeX/metacubexd / AuthInput

Interface AuthInput

apps/server/middleware/auth.ts:7–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5const PUBLIC_CONTROL_PATHS = new Set([`${CONTROL_PREFIX}/health`])
6
7export interface AuthInput {
8 path: string
9 authHeader: string | undefined
10 queryToken: string | undefined
11 configuredToken: string
12}
13
14export type AuthResult =
15 | { ok: true }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected