Function responsible for handling DSU creation according to it's type, either via direct access to the api, or vie the DSU Fabric
Classes
- DSUService
Class responsible for Authenticated DSU transactions between the client and the API Hub
.
Namespaces
Members
# static constant STRATEGY
DSU creation strategies:
- Simple: Users the direct OpenDSU API.
DSU creation strategies:
- Simple: Users the direct OpenDSU API. Only works if the APIHub is not in authorized mode;
- Authorized: Uses the DSUFabric and DSUBuilder to ensure transactions and permissions
Methods
# static addFileDataToDossier()
- See:
-
- DSUService#addFileDataToDossier with already filled transactionId and domain
# static mount()
- See:
-
- DSUService#mount with already filled transactionId and domain
# static ParticipantService(domain:, strategy)
Parameters:
| Name | Type | Description |
|---|---|---|
domain: |
string
|
anchoring domain. defaults to 'default' |
strategy |
STRATEGY
|