Interface AppConfiguration

Configuration to pass as an argument when constructing an app.

Hierarchy

  • AppConfiguration
    • AppConfiguration

Properties

app?: LocalAppConfiguration

This describes the local app, sent to the server when a user authenticates. Specifying this will enable the server to respond differently to specific versions of specific apps.

baseUrl?: string

An optional URL to use as a prefix when requesting the Atlas App Services.

id: string

The Realm App ID

skipLocationRequest?: boolean

Skips requesting a location URL via the baseUrl and use the baseUrl as the url prefixed for any requests initiated by this app. This can useful when connecting to a server through a reverse proxy, to avoid the location request to make the client "break out" and start requesting another server.

storage?: Storage

Used when persisting app state, such as tokens of authenticated users.

transport?: NetworkTransport

Transport to use when fetching resources.

Generated using TypeDoc