MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / auth-middleware.ts

File auth-middleware.ts

apps/cloud/src/org/auth-middleware.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Effect, Layer } from "effect";
2import { HttpRouter, HttpServerRequest, HttpServerResponse } from "effect/unstable/http";
3
4import { AuthContext, requestScopedMiddleware } from "@executor-js/api/server";

Callers

nothing calls this directly

Calls 4

sessionFromSealedFunction · 0.90
noOrganizationFunction · 0.85
unauthorizedFunction · 0.70

Tested by

no test coverage detected