Interface: OperationSettings

Optional settings to configure the SDK’s operations that will be performed after the initialization. This can be also provided when calling the operation functions themselves.

Properties

accessToken?

optional accessToken: string

Optional access token to use for the operation. If not provided, the SDK will use the access token set during initialization.


debugMode?

optional debugMode: boolean

Whether to enable debug mode for the SDK. If not provided, the SDK will default to false. If debug mode is enabled, it will print extra logging to the console during the execution of the SDK functions in which an iframe is involved.


idempotencyKey?

optional idempotencyKey: string

Optional idempotency key to use for the operation. If not provided, the SDK will generate a random key for the functions that require it.


mfaPreference?

optional mfaPreference: string

The Multifactor Authentication (MFA) preference to use for the operations. This can be either MFA_METHODS.PASSKEY, MFA_METHODS.PAIRED_DEVICE or MFA_METHODS.SMS_OTP. If not provided, the SDK will default to ‘PASSKEY’.


stagingToken?

optional stagingToken: string

Optional staging token to use for the operation. The staging token is only needed when working in the staging environment, and it is irrelevant and not needed in production. If not provided, the SDK will use the staging token set during initialization.


uiParentElementId?

optional uiParentElementId: string

The id of the element where the SDK UI for sensitive operations will be rendered.

Interface: OperationSettings

Optional settings to configure the SDK’s operations that will be performed after the initialization. This can be also provided when calling the operation functions themselves.

Properties

accessToken?

optional accessToken: string

Optional access token to use for the operation. If not provided, the SDK will use the access token set during initialization.


debugMode?

optional debugMode: boolean

Whether to enable debug mode for the SDK. If not provided, the SDK will default to false. If debug mode is enabled, it will print extra logging to the console during the execution of the SDK functions in which an iframe is involved.


idempotencyKey?

optional idempotencyKey: string

Optional idempotency key to use for the operation. If not provided, the SDK will generate a random key for the functions that require it.


mfaPreference?

optional mfaPreference: string

The Multifactor Authentication (MFA) preference to use for the operations. This can be either MFA_METHODS.PASSKEY, MFA_METHODS.PAIRED_DEVICE or MFA_METHODS.SMS_OTP. If not provided, the SDK will default to ‘PASSKEY’.


stagingToken?

optional stagingToken: string

Optional staging token to use for the operation. The staging token is only needed when working in the staging environment, and it is irrelevant and not needed in production. If not provided, the SDK will use the staging token set during initialization.


uiParentElementId?

optional uiParentElementId: string

The id of the element where the SDK UI for sensitive operations will be rendered.