Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/code-with-antonio/nightcode
/ require-auth.ts
File
require-auth.ts
packages/server/src/middleware/require-auth.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ createMiddleware } from
"hono/factory"
;
2
import
{ authenticateOAuthRequest } from
"../lib/auth"
;
3
4
export
type
AuthenticatedEnv = {
Callers
nothing calls this directly
Calls
1
authenticateOAuthRequest
Function · 0.90
Tested by
no test coverage detected