MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / token

Method token

apps/web/services/session/index.ts:53–57  ·  view source on GitHub ↗
(
    req: GetServerSidePropsContext['req'] | NextApiRequest
  )

Source from the content-addressed store, hash-verified

51 }
52
53 static async token(
54 req: GetServerSidePropsContext['req'] | NextApiRequest
55 ): Promise<JWT | null> {
56 return getValidSessionTokenFromRequest(req);
57 }
58
59 static async tokenRaw(
60 req: GetServerSidePropsContext['req'] | NextApiRequest

Callers 1

handlerFunction · 0.80

Calls 1

Tested by

no test coverage detected