Clears all data for the current application.
The callback to fire after the data has been successfully cleared.
The callback to fire if an error occurs.
Clears all data for this domain.
The callback to fire after the data has been successfully cleared.
The callback to fire if an error occurs.
Fetches a value based on its key.
The key of the value to fetch.
The callback to fire upon success. If the key is not found, the callback will be fired with null passed in.
The callback to fire if an error occurs.
An optional flag that when set to true causes the storage mechanism to fetch the resource as a resource that is common to all applications on the same domain. Default is false.
Returns the scoring value for this provider, if supported.
Returns stats about the underlying mechanism.
Initializes this provider.
Returns a boolean value indicating whether or not Local Storage is full.
Detects whether or not Local Storage is supported by the current user agent.
Removes a key and associated value from the store.
The key for which key/value pair to remove.
The callback to invoke upon successfully removing the desired key/value pair.
The callback to invoke if an error occurs trying to remove the key/value pair.
An optional flag that when set to true removes a resource previously saved as a shared resource. Default is false.
Adds a new key/value pair to storage or overwrites an existing one.
The key for the value being stored.
The value to store.
The callback to fire upon success.
The callback to fire if an error occurs.
An optional flag that when set to true causes the storage mechanism to save the resource in a way that is common to all applications on the same domain. Default is false.
The key prefix for this provider. This will be used to segregate stored values between applications.