get
Retrieves the value associated with the given key from secure local storage.
If the key is found, the encrypted value is decrypted and returned. If the key is not found or an error occurs during retrieval, an appropriate failure result is returned.
Return
A SecureLocalStorageResult instance containing either the decrypted data (SecureLocalStorageResult.Success) or an error (SecureLocalStorageResult.Failure).
Parameters
The key for the entry to retrieve from secure local storage.
Retrieves a value associated with the provided key.
Return
A SecureLocalStorageResult representing the result of the operation, which could be success with the fetched value or a failure indicating an error.
Parameters
The key of type KeyValueStorageKeys used to fetch the corresponding value from storage.
Retrieves the value associated with the given key from the secure local storage.
Return
A SecureLocalStorageResult indicating the result of the retrieval operation. Returns SecureLocalStorageResult.Success if the value is successfully retrieved, or SecureLocalStorageResult.Failure if the operation fails.
Parameters
The key whose associated value is to be retrieved.
Retrieves the corresponding value associated with the given key from the secure local storage.
Return
A SecureLocalStorageResult instance representing the outcome of the retrieval operation. It could either be a success containing the retrieved data or a failure with an appropriate error.
Parameters
The key of type KeyValueStorageKeys used to identify the stored value.