Package version:

The configuration settings of the session cookie's expiration.

interface CookieExpiration {
    convention?: CookieExpirationConvention;
    timeToExpiration?: string;
}

Properties

The convention used when determining the session cookie's expiration.

timeToExpiration?: string

The time after the request is made when the session cookie should expire.