Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Linen-dev/linen.dev
/ verifyToken
Function
verifyToken
packages/auth-server/src/server/tokens.ts:43–45 ·
view source on GitHub ↗
(token: string)
Source
from the content-addressed store, hash-verified
41
}
42
43
export
async
function
verifyToken(token: string) {
44
return
decode(token);
45
}
46
47
export
function
getToken(req: any, cookieName = cookiesName.session) {
48
if
(!req) {
Callers
4
_getValidToken
Function · 0.90
getServerSession
Function · 0.90
jwtMiddleware
Function · 0.90
refreshTokenAction
Function · 0.85
Calls
1
decode
Function · 0.85
Tested by
no test coverage detected