MCPcopy Create free account
hub / github.com/codeaashu/claude-code / setupRoutes

Method setupRoutes

src/server/web/auth/token-auth.ts:43–45  ·  view source on GitHub ↗
(_app: Application)

Source from the content-addressed store, hash-verified

41 }
42
43 setupRoutes(_app: Application): void {
44 // Token auth needs no login/callback/logout routes.
45 }
46
47 requireAuth(req: Request, res: Response, next: NextFunction): void {
48 const user = this.authenticate(req as unknown as IncomingMessage);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected