Optional
duration?: numberInteger value, in seconds, used as the duration of the session cookie.
Defaults to 604800
seconds (7 days).
The secret used to derive an encryption key for the session cookie.
IMPORTANT: you must use the same value as in the SDK configuration. See ConfigParameters.secret.
Configuration parameters used by generateSessionCookie.