QikStorage

Storage abstraction layer for handling both localStorage and httpOnly cookie storage
Source:

Classes

CookieStorageAdapter
LocalStorageAdapter
StorageAdapter

Methods

(static) createStorageAdapter(options) → {StorageAdapter}

Source:
Factory function to create appropriate storage adapter
Parameters:
Name Type Description
options Object Configuration options
Properties
Name Type Description
useHttpOnlyCookies Boolean Whether to use cookie storage
cookieConfig Object Cookie configuration options
Returns:
Storage adapter instance
Type
StorageAdapter