Interface IdentityOnlinePlayground

Test a Ditto Cloud app with weak shared token authentication ("Playground mode"). This mode is not secure and must only be used for development.

Phased out in 4.x. Replaced by DittoConfig with connect: { mode: 'server', url: '...' } and development authentication. This API will be replaced by DittoConfig in v5.

interface IdentityOnlinePlayground {
    appID: string;
    customAuthURL?: string;
    enableDittoCloudSync?: boolean;
    token: string;
    type: "onlinePlayground";
}

Properties

appID: string

An ID identifying this app registration on the Ditto portal, which can be found at https://portal.ditto.live.

customAuthURL?: string

If specified, use a custom authentication service instead of Ditto Cloud.

enableDittoCloudSync?: boolean

If true, auto-configure sync with Ditto Cloud. Default is true.

token: string

A shared token used to set up the OnlinePlayground session. This token is provided by the Ditto Portal when setting up the application.

type