Interface representing the session cookie options needed for the BaseAuth.createSessionCookie() method.
Signature:
export interface SessionCookieOptions
Properties
Property | Type | Description |
---|---|---|
expiresIn | number | The 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;