Options
All
  • Public
  • Public/Protected
  • All
Menu

Session table service.

Hierarchy

  • SessionService

Index

Constructors

constructor

Methods

createSession

  • createSession(userID: string): Promise<NBSession>

deleteOldUserSessions

  • deleteOldUserSessions(userID: string): Promise<void>

deleteSession

  • deleteSession(sessionID: string): Promise<void>

deleteUserSessions

  • deleteUserSessions(userID: string): Promise<void>

getSession

  • getSession(sessionID: string): Promise<NBSession>

getUserBySessionID

  • getUserBySessionID(sessionID: string): Promise<NBUser>

getUserSessions

  • getUserSessions(userID: string): Promise<NBSession[]>

sessionExists

  • sessionExists(sessionID: string): Promise<boolean>

Generated using TypeDoc