Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
{ Context, Effect, Layer } from
"effect"
;
2
import
{ HttpRouter, HttpServerRequest, HttpServerResponse } from
"effect/unstable/http"
;
3
4
import
{
Callers
nothing calls this directly
Calls
4
authorizeOrganizationSelector
Function · 0.90
sessionFromSealed
Function · 0.90
noOrganization
Function · 0.85
unauthorized
Function · 0.70
Tested by
no test coverage detected