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

Method tokenRaw

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

Source from the content-addressed store, hash-verified

57 }
58
59 static async tokenRaw(
60 req: GetServerSidePropsContext['req'] | NextApiRequest
61 ): Promise<string | null> {
62 return getRawTokenFromRequest(req);
63 }
64
65 static async canAuthAccessChannel(authId: string, channelId: string) {
66 return await prisma.auths.findFirst({

Callers 1

getMethod · 0.80

Calls 1

getRawTokenFromRequestFunction · 0.90

Tested by

no test coverage detected