Skip to main content

Interface: RenderOptions

Defined in: index.ts:4

Options for rendering the hosted application

Properties​

iframeSelector​

iframeSelector: string

Defined in: index.ts:17

The selector of the div to render the embed into.


onAuthenticationFailed()​

onAuthenticationFailed: (callback) => void

Defined in: index.ts:28

Callback to be called when authentication fails.

Parameters​

callback​

(failureReason) => void

The callback to be called when authentication fails.

Returns​

void


sandbox?​

optional sandbox: boolean

Defined in: index.ts:13

Whether to connect to the sandbox environment.


target?​

optional target: string

Defined in: index.ts:22

The target to navigate to after authentication. If not provided will default to pay dashboard.


token​

token: string

Defined in: index.ts:9

The authentication token for the user. This can be a JWE token, a session token or an authentication code.