The NBRMode parameter used to indicate whether the children of the BrPage component should be rendered
immediatly or wait with rendering until the Page model has been retrieved and parsed.
By default, the option is false
.
Current API version. By default, the compatible with the current setup version will be chosen.
API version header.
By default, Accept-Version
will be used.
Authorization header.
By default, Authorization
will be used.
The query string parameter used to pass authorization header value.
By default, token
parameter is used.
Authorization token.
By default, the SDK will try to extract the token from the request query string
using authorizationQueryParameter
option.
Base URL of the SPA. Everything after it will be interpreted as a route into the page model. The default base url is an empty string.
The option enabling debug mode.
Base URL to fetch the page model from.
HTTP client that will be used to fetch the page model.
The brXM origin to verify an integration with the Experience Manager.
This option should be used when the brXM is accessible from a host other than the Page Model API.
By default, the origin from the apiBaseUrl
or endpoint
parameters is used.
The path part of the URL, including a query string if present. For example: '/path/to/page?foo=1'. The path always starts with '/'.
Current user's request.
Cluster node identifier.
By default, the SDK will try to extract the value from the request query string
using serverIdQueryParameter
option.
Header identifying the current cluster node.
By default, Server-Id
will be used.
The query string parameter used to pass a cluster node identifier.
By default, server-id
parameter is used.
Current visitor.
This parameter takes precedence over request.visitor
.
The window reference for the CMS integration. By default the global window object will be used.
Configuration of the SPA SDK using the JWT token-based setup and the Page Model API v1.0.