MCPcopy Create free account
hub / github.com/anomalyco/opencode /

Class

packages/protocol/src/middleware/authorization.ts:4–4  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import { UnauthorizedError } from "../errors"
3
4export class Authorization extends HttpApiMiddleware.Service<Authorization>()("@opencode/HttpApiAuthorization", {
5 error: UnauthorizedError,
6}) {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected