Constructor
new SolidService()
- Source:
Initialize the user webID and the location of the temporal storage
Methods
(async) createStoragePlace()
- Source:
Create asynchronous the storage place
createUniqueName()
- Source:
Generate a unique temporal name for this solid service
injectUserStorageLocation(inference)
- Source:
Insert user storage in predefined list of files so the reasoner can execute specific for this person
Parameters:
Name | Type | Description |
---|---|---|
inference |
object | current inference used by the eye reasoner |
removeUserData()
- Source:
Whipe the data of the user, the service itself will be cleaned up by the garbage collector rimraf is the equivalent of UNIX rm -rf, if you want to store certain parts change this Need to call this manually
uploadProfileToPersonalStorage(data)
- Source:
Upload the data to storage place so the EYE reasoner can use it
Parameters:
Name | Type | Description |
---|---|---|
data |
string | file provided by post of the user |