Namespace

Services

Services

Function responsible for handling DSU creation according to it's type, either via direct access to the api, or vie the DSU Fabric

View Source services/index.js, line 1

Classes

DSUService

Class responsible for Authenticated DSU transactions between the client and the API Hub

.

Namespaces

dt
Provides a Environment Independent and Versatile Dossier Building API.
Locale
Utils

Members

doPost

# static constant doPost

View Source services/DSUService.js, line 7

# 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

View Source services/strategy.js, line 7

Methods

# static addFileDataToDossier()

See:
  • DSUService#addFileDataToDossier with already filled transactionId and domain

View Source services/DSUService.js, line 168

# static mount()

See:
  • DSUService#mount with already filled transactionId and domain

View Source services/DSUService.js, line 175

# static ParticipantService(domain:, strategy)

Parameters:
Name Type Description
domain: string

anchoring domain. defaults to 'default'

strategy STRATEGY

View Source services/ParticipantService.js, line 1