MCPcopy Create free account
hub / github.com/code100x/daily-code / jwt

Function jwt

apps/web/lib/auth.ts:28–30  ·  view source on GitHub ↗
({ token }: any)

Source from the content-addressed store, hash-verified

26 session: { strategy: "jwt" as SessionStrategy },
27 callbacks: {
28 async jwt({ token }: any) {
29 return token;
30 },
31 async session({ session, token }: any) {
32 const user = await db.user.findUnique({
33 where: {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected