Difference between revisions of "User Wallet PlugIn"
From LinuxMCE
(Initial Content.) |
(added some more scribbles.) |
||
Line 11: | Line 11: | ||
As implied by the above API, both key names and their values are simply C++ strings. | As implied by the above API, both key names and their values are simply C++ strings. | ||
+ | |||
+ | Two Domains: | ||
+ | |||
+ | * User - Keys in here are stored per-user | ||
+ | * Device - Keys in here are stored per-device |
Latest revision as of 04:50, 20 May 2010
We are increasingly creating more and more devices that interface with Internet content. These Internet media frequently need access to user specific information, including but not limited to:
- User Name
- Email Address
- Password
The idea, very simply, is to have any plugins which wish to store data, simply register themselves with the plugin, and therefore have access to a couple of public functions:
- void StoreKey(string sKeyName, sKeyValue)
- string RetrieveKey(string sKeyName)
As implied by the above API, both key names and their values are simply C++ strings.
Two Domains:
- User - Keys in here are stored per-user
- Device - Keys in here are stored per-device