Home > @vsf-enterprise/bigcommerce-api > MiddlewareSettingsConfig
# MiddlewareSettingsConfig interface
Settings provided in the middleware.config.js
file.
Signature:
export interface MiddlewareSettingsConfig
# Properties
Property | Type | Description |
---|---|---|
cookie_options? | CookieOptionsList | (Optional) Custom cookie options |
jwtTokenExpirationDays | number | JWT token expiration days. |
loginUrlType? | UrlType | (Optional) Indicates url type use for performing login. By default it's set to UrlType.Canonical .It could be "primary" | "canonical" | "checkout" |
sdkSettings | MiddlewareSDKSettingsConfig | BigCommerce SDK settings. |
secureCookies | boolean | |
stdTTL? | number | (Optional) Node cache standard ttl configuration in seconds. By default it's set to 86400 seconds. |