Home > @vsf-enterprise/epcc-api > MiddlewareSettingsConfig

# MiddlewareSettingsConfig interface

Settings provided in the middleware.config.js file.

Signature:

export interface MiddlewareSettingsConfig 

# Properties

Property Type Description
client_id string Elastic Path client id.
client_secret string Elastic Path client secret.
cookie_options CookieOptions Customizable cookie options.
disable_manual_payment_authorize? boolean (Optional) Disables automatic authorization of the payment inside /api/epcc/checkout endpoint. Set to true if you are using some Payment Service Provider integration.
forgotten_password_token_expiration string Expiration time of password reset link.
multistore? MultistoreConfig (Optional) Configuration for Multistore functionality
publicConfig? StoreConfig['publicConfig'] (Optional) Optional public configuration to be returned by /api/configuration endpoint if multistore is not used
routing? { req: Request; } (Optional) Routing object contains Express' Request and Response objects passed from API beforeCreate hook
secure_cookies boolean
tax_data object Tax rate data of different locales.