Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IBootstrapOptions

These are the options supplied to core.init to define how the SDK is configured and how it will bootstrap initial data. It also controls user expiration check controls and initial cart fetching.

export
interface

IBootstrapOptions

Hierarchy

  • IBootstrapOptions

Index

Properties

appName

appName: string

Client application name for the EVA-User-Agent header

memberof

IBootstrapOptions

appVersion

appVersion: string

Client application version for the EVA-User-Agent header

memberof

IBootstrapOptions

Optional applicationToken

applicationToken: undefined | string

The last known application token used to resume state

memberof

IBootstrapOptions

Optional debug

debug: undefined | false | true

Enables additional logging

memberof

IBootstrapOptions

Optional defaultCallUserType

defaultCallUserType: TDefaultCallUserType

Whether this is an employee facing app or not, will be changing behavior of some services outline in referenced ticket

see

https://eva2015.atlassian.net/browse/OPTR-6866

Optional defaultToken

defaultToken: undefined | string

The default token is used for anonymous state Most common use case if for web-shop usage before a customer logs in

memberof

IBootstrapOptions

Optional disableCartBootstrap

disableCartBootstrap: undefined | false | true

Disable standard initial cart retrieval

getShoppingCartInfo (chain)

memberof

IBootstrapOptions

Optional disableDataBootstrap

disableDataBootstrap: undefined | false | true

Disable standard data retrieval calls

getApplicationConfiguration getCurrentUser

memberof

IBootstrapOptions

Optional enableSentinel

enableSentinel: undefined | false | true

Enables on premise sentinel support

memberof

IBootstrapOptions

endPointUrl

endPointUrl: string

EVA backend location (mandatory)

memberof

IBootstrapOptions

Optional language

language: undefined | string

This setting wil be use as Accept-Language header

memberof

IBootstrapOptions

Optional sentinelEndPointUrl

sentinelEndPointUrl: undefined | string

Provides last known sentinel endpoint

Optional startCommunicator

startCommunicator: undefined | false | true

Start the inter-app communicator during bootstrap Not enabled by default because apps may wish to delay this until after the login for instance

memberof

IBootstrapOptions

Optional userToken

userToken: undefined | string

The last known user token used to resume state

memberof

IBootstrapOptions