SessionCookieOptions interface

Interface representing the session cookie options needed for the BaseAuth.createSessionCookie() method.

Signature:

exportinterfaceSessionCookieOptions

Properties

PropertyTypeDescription
expiresInnumberThe session cookie custom expiration in milliseconds. The minimum allowed is 5 minutes and the maxium allowed is 2 weeks.

SessionCookieOptions.expiresIn

The session cookie custom expiration in milliseconds. The minimum allowed is 5 minutes and the maxium allowed is 2 weeks.

Signature:

expiresIn:number;