Manages user data storage and retrieval across different storage sources. The class supports localStorage and server as storage options (server-side implementation currently not available). It provides functionality to set, get, save, and delete user data while maintaining the flexibility to target specific paths within the user data object.
Deletes all user data in storage.
Force deletion from local storage regardless of the currently set data source.
Delete a specific part of the user data defined by the storage path.
path in the user data object that will be deleted.
if true, deletes user data in the local storage, ignoring the source.
Retrieves a specific part of the user data defined by the storage path.
path in the user data object to the requested value.
if true, reads user data from the local storage, ignoring the source.
the partial user data object.
Saves user data to a specific path in the storage.
path in the user data object where the value is saved to.
user data value to save.
if true, saves user data to the local storage, ignoring the source.
Static