Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UserSessionRedisStorage

inheritdoc

Hierarchy

  • BaseUserSessionRedisStorage<UserSessionMetaData<UserSessionDevice, HTTPRequestLocation>>
    • UserSessionRedisStorage

Implements

  • UserSessionsStorage<UserSessionDevice, HTTPRequestLocation>

Constructors

Methods

Constructors

constructor

  • new UserSessionRedisStorage(options: UserSessionRedisStorageOptions<UserSessionMetaData<UserSessionDevice, HTTPRequestLocation>>): UserSessionRedisStorage
  • Parameters

    • options: UserSessionRedisStorageOptions<UserSessionMetaData<UserSessionDevice, HTTPRequestLocation>>

    Returns UserSessionRedisStorage

Methods

updateAccessedAt

  • updateAccessedAt(subject: string, sessionId: string, metaData: UserSessionMetaData<UserSessionDevice, HTTPRequestLocation>): Promise<void>
  • Parameters

    • subject: string
    • sessionId: string
    • metaData: UserSessionMetaData<UserSessionDevice, HTTPRequestLocation>

    Returns Promise<void>