Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/clerk/javascript
/ authMiddleware
Function
authMiddleware
packages/nextjs/src/server/authMiddleware.ts:122–232 ·
view source on GitHub ↗
(...args: unknown[])
Source
from the content-addressed store, hash-verified
source not stored for this graph (policy: none)
Callers
2
authMiddleware.test.ts
File · 0.90
middleware.ts
File · 0.90
Calls
15
assertKey
Function · 0.90
createRouteMatcher
Function · 0.90
eventMethodCalled
Function · 0.90
withLogger
Function · 0.90
stringifyHeaders
Function · 0.90
isDevelopmentFromSecretKey
Function · 0.90
receivedRequestForIgnoredRoute
Function · 0.90
setHeader
Function · 0.90
isRedirect
Function · 0.90
createAuthenticateRequestOptions
Function · 0.90
mergeResponses
Function · 0.90
serverRedirectWithAuth
Function · 0.90
Tested by
no test coverage detected