aerogear-xamarin-sdk
AeroGear Xamarin SDK
AeroGear.Mobile.Core.Storage.SecureKeyValueStore Class Reference

Key/value store using the KeychainService More...

Public Member Functions

 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...
 

Detailed Description

Key/value store using the KeychainService

Constructor & Destructor Documentation

◆ SecureKeyValueStore()

AeroGear.Mobile.Core.Storage.SecureKeyValueStore.SecureKeyValueStore ( string  keychainService)

Initializes a new instance of the T:AeroGear.Mobile.Core.Storage.SecureKeyValueStore class.

Parameters
keychainServiceKeychain service.

Member Function Documentation

◆ 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
keyKey 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
keyIdentifier.

◆ 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
keyIdentifier.
valueValue to store.

The documentation for this class was generated from the following file: