Class AbstractSessionStoreAbstract

Constructors

Properties

cookieConfig: CookieOptions
secret: string
sessionCookieName: string

Methods

  • calculateMaxAge calculates the max age of the session based on createdAt and the rolling and absolute durations.

    Parameters

    • createdAt: number

    Returns number