MCPcopy Index your code
hub / github.com/nextauthjs/next-auth-example / session

Function session

auth.ts:118–122  ·  view source on GitHub ↗
({ session, token })

Source from the content-addressed store, hash-verified

116 return token
117 },
118 async session({ session, token }) {
119 if (token?.accessToken) session.accessToken = token.accessToken
120
121 return session
122 },
123 },
124 experimental: { enableWebAuthn: true },
125})

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected