Key/value store using the KeychainService
More...
|
| SecureKeyValueStore (string keychainService) |
| Initializes a new instance of the T:AeroGear.Mobile.Core.Storage.SecureKeyValueStore class. More...
|
|
bool | Save (string key, string value) |
| Save the specified value using the specified key as an identifier. This key can later be used to retrieve and remove the value. More...
|
|
string | Load (string key) |
| Load the value associated with the specified key. More...
|
|
bool | Remove (string key) |
| Remove the value associated with the specified key. More...
|
|
Key/value store using the KeychainService
◆ SecureKeyValueStore()
AeroGear.Mobile.Core.Storage.SecureKeyValueStore.SecureKeyValueStore |
( |
string |
keychainService | ) |
|
Initializes a new instance of the T:AeroGear.Mobile.Core.Storage.SecureKeyValueStore class.
- Parameters
-
keychainService | Keychain service. |
◆ Load()
string AeroGear.Mobile.Core.Storage.SecureKeyValueStore.Load |
( |
string |
key | ) |
|
Load the value associated with the specified key.
- Returns
- The string value associated with the specified key.
- Parameters
-
key | Key that identifies the stored value. |
◆ Remove()
bool AeroGear.Mobile.Core.Storage.SecureKeyValueStore.Remove |
( |
string |
key | ) |
|
Remove the value associated with the specified key.
- Returns
true
if the remove operation succeeded. Otherwise false
.
- Parameters
-
◆ Save()
bool AeroGear.Mobile.Core.Storage.SecureKeyValueStore.Save |
( |
string |
key, |
|
|
string |
value |
|
) |
| |
Save the specified value using the specified key as an identifier. This key can later be used to retrieve and remove the value.
- Returns
true
if the save operation succeeded. Otherwise false
.
- Parameters
-
key | Identifier. |
value | Value to store. |
The documentation for this class was generated from the following file: