interface FpjsProviderOptions {
    cache?: ICache;
    cacheLocation?: CacheLocation;
    cachePrefix?: string;
    cacheTimeInSeconds?: number;
    customAgent?: CustomAgent;
    forceRebuild?: boolean;
    loadOptions: FingerprintJSPro.LoadOptions;
}

Hierarchy (view full)

Properties

cache?: ICache

Custom cache implementation. Takes precedence over the cacheLocation property.

cacheLocation?: CacheLocation

Defines which built-in cache mechanism the client should use.

cachePrefix?: string

Custom prefix for localStorage and sessionStorage cache keys. Will be ignored if cache is provided.

cacheTimeInSeconds?: number

Duration in seconds for which data is stored in cache. Cannot exceed 86_400 (24h) because caching data for longer than 24 hours can negatively affect identification accuracy.

customAgent?: CustomAgent
forceRebuild?: boolean

If set to true, will force FpjsClient to be rebuilt with the new options. Should be used with caution since it can be triggered too often (e.g. on every render) and negatively affect performance of the JS agent.

Options for the FingerprintJS JS Agent load() method.

Generated using TypeDoc