ConstructorOptions
Signature:
{
environment?: string,
windowMode?: WindowMode,
signMethod?: string,
bearerTokenProvider?: () => string,
useOverlayWithPopup?: boolean;
}
Parameters:
| Option | Description |
|---|---|
environment | The environment to which you want to connect, possible values are local, sandbox, prod. Default set to prod. |
windowMode | The sign method you want to use, possible values are POPUP or REDIRECT. Default set to POPUP. |
bearerTokenProvider | You can implement all the authentication handling yourself and provide Venly Connect with your own bearer token provider. The bearer token provider is a function returning the bearer token (access token) to login to Venly. Default the Venly Connect authentication client is used. |
useOverlayWithPopup | When using a popup, show an overlay on the parent screen. Default set to true. |
Updated almost 2 years ago