mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-25 06:35:48 +00:00
[CHORE] stubbed functions
This commit is contained in:
@@ -8,6 +8,7 @@ var BlobObj = function (url, id, key) {
|
||||
this.id = id;
|
||||
this.key = key;
|
||||
this.data = {};
|
||||
this.identity = new Identity;
|
||||
};
|
||||
|
||||
// Blob operations
|
||||
@@ -489,8 +490,42 @@ function normalizeSubcommands(subcommands, compress) {
|
||||
}
|
||||
|
||||
|
||||
/***** blob client methods ****/
|
||||
/***** identity ****/
|
||||
|
||||
/**
|
||||
* Identity class
|
||||
*
|
||||
*/
|
||||
var Identity = function() {}
|
||||
|
||||
|
||||
/**
|
||||
* getAll
|
||||
* get and decrypt all identity fields
|
||||
* @param {string} password to derive crypt key
|
||||
*/
|
||||
Identity.prototype.getAll = function(password) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Identity.prototype.get = function(key, password) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Identity.prototype.set = function(key, password, data) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Identity.prototype.unset = function (key, password) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/***** blob client methods ****/
|
||||
|
||||
/**
|
||||
* Blob object class
|
||||
|
||||
Reference in New Issue
Block a user