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

Method destroy

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

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

(sessionId: string)

Source from the content-addressed store, hash-verified

91 * @param sessionId - Unique identifier for the session to remove
92 */
93 destroy(sessionId: string): Promise<void> | void
94
95 /**
96 * Updates the lifetime/expiry of a session without modifying the session data

Callers 14

destroyMethod · 0.65
destroyMethod · 0.65
commitMethod · 0.65
pluginFnFunction · 0.65
contextFunction · 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