MCPcopy Create free account
hub / github.com/blockmatic/basilic / createSessionAndIssueTokens

Function createSessionAndIssueTokens

apps/api/src/lib/session.ts:15–50  ·  view source on GitHub ↗
({
  fastify,
  db,
  userId,
  wallet,
}: {
  fastify: FastifyInstance
  db: DbForSession
  userId: string
  wallet?: { chain: string; address: string }
})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

solanaVerifyRouteFunction · 0.85
eip155VerifyRouteFunction · 0.85
oauthExchangeRouteFunction · 0.85
runGoogleVerifyIdTokenTxFunction · 0.85
passkeyVerifyRouteFunction · 0.85
magicLinkVerifyRouteFunction · 0.85

Calls 4

generateJtiFunction · 0.85
hashTokenFunction · 0.85
createAccessTokenPayloadFunction · 0.85

Tested by

no test coverage detected