listUserSessions
listUserSessions(
db,userId):Promise<EngineSessionInfo[]>
Defined in: packages/auth/src/sessions.ts:58
Active sessions for a user, newest first (expired rows are dropped).
Parameters
Section titled “Parameters”DatabaseAdapter
userId
Section titled “userId”string
Returns
Section titled “Returns”Promise<EngineSessionInfo[]>