MobileWalletConfig

data class MobileWalletConfig(val walletId: String = Uuid.random().toString(), val defaultKeyType: KeyType = KeyType.secp256r1, val attestationConfig: WalletAttestationConfig? = null, val onEvent: suspend (WalletSessionEvent) -> Unit = {})

Configuration for creating a MobileWallet.

Constructors

Link copied to clipboard
constructor(walletId: String = Uuid.random().toString(), defaultKeyType: KeyType = KeyType.secp256r1, attestationConfig: WalletAttestationConfig? = null, onEvent: suspend (WalletSessionEvent) -> Unit = {})

Properties

Link copied to clipboard

Optional client-attestation configuration for issuer deployments that require it.

Link copied to clipboard
val defaultKeyType: KeyType

Key type used by MobileWallet.bootstrap when no key type override is supplied.

Link copied to clipboard
val onEvent: suspend (WalletSessionEvent) -> Unit

Optional callback for observing wallet issuance and presentation session events.

Link copied to clipboard

Stable wallet identifier used for database naming and persisted wallet state.