SessionCookieOptions interface

Interface representing the session cookie options needed for theBaseAuth.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;

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2022-07-29 UTC.