aries-mediator-dotnet / net.globalid.aries.mediator.dotnet.mediator / DotnetConfigurationProvider

DotnetConfigurationProvider

interface DotnetConfigurationProvider

An interface for providing dotnet mediator configuration. The JSON should look like this:

{
  "ServiceEndpoint": "https://example.com",
  "RoutingKey": "DP65TGnToSqbTjJD4JbJdVUqnDbtuEiAmwwBDJAioRwP",
  "Invitation": {
    "label": "Example Mediator",
    "imageUrl": null,
    "serviceEndpoint": "https://example.com",
    "routingKeys": null,
    "recipientKeys": ["CNgKSmsRbu73bU41F1Z7CzD46WyB4PqJket2vTNiHLGM"],
    "@id": "c19610ab-4e70-4852-849d-b5b62563676e",
    "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/connections/1.0/invitation"
  }
}

The JSON will be parsed into the DotnetPublicConfiguration model; check there for documentation regarding the fields.

Functions

getConfigurationJson

Returns configuration JSON as described above.

abstract fun getConfigurationJson(): Single<String>