interface EnokiFlowConfig {
    apiKey: string;
    apiUrl?: string;
    encryption?: Encryption;
    store?: SyncStore;
}

Hierarchy (view full)

Properties

apiKey: string

The API key for the Enoki app, available in the Enoki Portal.

apiUrl?: string

The API URL for Enoki. In most cases, this should not be set.

encryption?: Encryption

The encryption interface that will be used to encrypt data before storing it locally. If not provided, it will use a default encryption interface.

store?: SyncStore

The storage interface to persist Enoki data locally. If not provided, it will use a sessionStorage-backed store.