WalletSdkOptions

data class WalletSdkOptions(val issuerUrl: String, val clientId: String, val verifiers: List<ClientConfig> = emptyList(), val dbFileName: String = "main.db", val useStrongBoxForKeys: Boolean = true, val userAuthenticationRequired: Boolean = false, val userAuthenticationTimeoutMillis: Long)

Configuration options for bootstrapping the EUDI wallet and document manager.

The hosting app decides:

  • which issuer / client ID to use (issuerUrl, clientId),

  • which verifiers are preregistered (verifiers),

  • how the local DB is named (dbFileName),

  • how keys are created in Android Keystore (useStrongBoxForKeys, userAuthenticationRequired, userAuthenticationTimeoutMillis).

This keeps "environments" (staging/prod/etc.) as an app-level concern.

Constructors

Link copied to clipboard
constructor(issuerUrl: String, clientId: String, verifiers: List<ClientConfig> = emptyList(), dbFileName: String = "main.db", useStrongBoxForKeys: Boolean = true, userAuthenticationRequired: Boolean = false, userAuthenticationTimeoutMillis: Long)

Properties

Link copied to clipboard

OAuth2/OpenID client_id used for issuance.

Link copied to clipboard

Name of the file where the wallet DB will be stored, under context.noBackupFilesDir.

Link copied to clipboard

Issuer URL for OpenID4VCI (e.g. https://eboks.add-id.eu).

Link copied to clipboard

Whether keys should be bound to explicit user authentication (PIN/biometric) before usage.

Link copied to clipboard

How long (in milliseconds) the user authentication should remain valid for key usage, when userAuthenticationRequired is true.

Link copied to clipboard

Whether to request StrongBox-backed keys when available.

Link copied to clipboard

Preregistered verifiers the wallet should trust for OpenID4VP.