mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-25 14:45: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.id = id;
|
||||||
this.key = key;
|
this.key = key;
|
||||||
this.data = {};
|
this.data = {};
|
||||||
|
this.identity = new Identity;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Blob operations
|
// Blob operations
|
||||||
@@ -487,11 +488,45 @@ function normalizeSubcommands(subcommands, compress) {
|
|||||||
return subcommands;
|
return subcommands;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/***** 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 client methods ****/
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Blob object class
|
* Blob object class
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user