interface FpjsClientOptions {
    cache?: ICache;
    cacheLocation?: CacheLocation;
    cachePrefix?: string;
    cacheTimeInSeconds?: number;
    loadOptions: FingerprintJSPro.LoadOptions;
}

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.

Options for the FingerprintJS JS Agent load() method.

Generated using TypeDoc