WalletProviderConfig

data class WalletProviderConfig(val baseUrl: String = id.walt.wallet2.walletprovider.EnterpriseDemoWalletProvider.BASE_URL, val servicePath: String = id.walt.wallet2.walletprovider.EnterpriseDemoWalletProvider.SERVICE_PATH, val bearerToken: String = "", val hostHeader: String = "", val composition: String = "wia_ka")

Opt-in Enterprise Wallet Provider used for wallet instance and key attestations.

The default address is the hosted Enterprise Stack demo. That deployment does not yet run the wallet-provider feature, and servicePath is not provisioned. Sample apps leave this unset.

Constructors

Link copied to clipboard
constructor(baseUrl: String = id.walt.wallet2.walletprovider.EnterpriseDemoWalletProvider.BASE_URL, servicePath: String = id.walt.wallet2.walletprovider.EnterpriseDemoWalletProvider.SERVICE_PATH, bearerToken: String = "", hostHeader: String = "", composition: String = "wia_ka")

Properties

Link copied to clipboard

Origin of the Enterprise API, without a service path.

Link copied to clipboard

Optional bearer token for the wallet-provider API. Empty sends no Authorization header.

Link copied to clipboard

wia, ka, or wia_ka. Must match a composition that provider is configured to mint.

Link copied to clipboard

Optional Host header override for tunneled local tests.

Link copied to clipboard

Wallet-provider target, organization.tenant.service.