MCPcopy Create free account
hub / github.com/effect-app/libs / constructor

Method constructor

packages/infra/src/internal/auth.ts:52–55  ·  view source on GitHub ↗
(scopes?: ReadonlyArray<string>, message = "Insufficient Scope")

Source from the content-addressed store, hash-verified

50 override readonly statusCode = 403
51
52 constructor(scopes?: ReadonlyArray<string>, message = "Insufficient Scope") {
53 super(message)
54 this.headers = getHeaders(this.code, this.message, scopes)
55 }
56}
57
58export interface JwtVerifierOptions {

Callers

nothing calls this directly

Calls 1

getHeadersFunction · 0.85

Tested by

no test coverage detected