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

Method read

src/types.ts:78–78  ·  view source on GitHub ↗

* Reads session data for a given session ID from the persistence store * * @param sessionId - Unique identifier for the session

(sessionId: string)

Source from the content-addressed store, hash-verified

76 * @param sessionId - Unique identifier for the session
77 */
78 read(sessionId: string): Promise<SessionData | null> | SessionData | null
79
80 /**
81 * Writes session data for a given session ID to the persistence store

Callers 12

loadMethod · 0.65
getMethod · 0.65
initiateMethod · 0.65
file_store.spec.tsFile · 0.65

Implementers 6

FileStoresrc/stores/file.ts
DynamoDBStoresrc/stores/dynamodb.ts
CookieStoresrc/stores/cookie.ts
RedisStoresrc/stores/redis.ts
MemoryStoresrc/stores/memory.ts
DatabaseStoresrc/stores/database.ts

Calls

no outgoing calls

Tested by

no test coverage detected