MCPcopy 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
43export async function verifyToken(token: string) {
44 return decode(token);
45}
46
47export function getToken(req: any, cookieName = cookiesName.session) {
48 if (!req) {

Callers 4

_getValidTokenFunction · 0.90
getServerSessionFunction · 0.90
jwtMiddlewareFunction · 0.90
refreshTokenActionFunction · 0.85

Calls 1

decodeFunction · 0.85

Tested by

no test coverage detected