MCPcopy Create free account
hub / github.com/adonisjs/session / cookieDriver

Function cookieDriver

tests/session.spec.ts:44–46  ·  view source on GitHub ↗
(ctx, config)

Source from the content-addressed store, hash-verified

42 cookie: {},
43}
44const cookieDriver: SessionStoreFactory = (ctx, config) => {
45 return new CookieStore(config.cookie, ctx)
46}
47
48test.group('Session', (group) => {
49 group.setup(async () => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected