Secure Local Storage Factory
Factory class responsible for creating instances of KeyValueStorageInterface.
This class provides a mechanism to initialize a secure local storage solution for securely storing key-value pairs. It depends on the platform-specific Context to initialize the storage.
The storage created through this factory is backed by the underlying dataStore of the provided Context, ensuring secure and reliable data handling.
The createSecureLocalStorage function returns an implementation of KeyValueStorageInterface, which can be used for performing operations such as setting, retrieving, and deleting secure key-value pairs.
Factory class responsible for creating instances of KeyValueStorageInterface.
The SecureLocalStorageFactory abstracts the creation process of secure local storage, where users can securely store and retrieve key-value pairs. The storage implementation varies depending on the platform, ensuring compatibility and security for different environments such as Android, iOS, etc.
The returned KeyValueStorageInterface allows operations such as setting, retrieving, deleting, and verifying the existence of secure storage items.
This class is designed as an "expect" class, meaning its implementation has to be provided separately for each supported platform.