PluginConfiguration

@Serializable
data class PluginConfiguration(val plugins: List<PluginConfig> = emptyList(), val defaultProviders: Map<String, String> = emptyMap(), val providerChains: Map<String, List<String>> = emptyMap())

Plugin configuration loaded from strict JSON.

Allows declarative configuration of plugins via configuration files. The loader accepts UTF-8 JSON; YAML must be converted by the caller.

Example Configuration:

plugins:
- id: waltid-credential
type: CREDENTIAL_SERVICE
provider: waltid
enabled: true
priority: 1
config:
baseUrl: "https://issuer.walt.id"

defaultProviders:
credential-service: waltid
blockchain: algorand

providerChains:
credential-service:
- waltid
- godiddy
- native

Constructors

Link copied to clipboard
constructor(plugins: List<PluginConfig> = emptyList(), defaultProviders: Map<String, String> = emptyMap(), providerChains: Map<String, List<String>> = emptyMap())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard