Package-level declarations

The entry point: create one WalletSdk with Wallet.createVerifier, Wallet.createWallet or Wallet.create, and keep it for the app's lifetime.

The entry point: create one WalletSdk with Wallet.createVerifier, Wallet.createWallet or Wallet.create, and keep it for the app's lifetime.

Types

Link copied to clipboard

How a presentment obtains consent: the SDK's consent sheet, or none (the host already asked).

Link copied to clipboard
sealed interface ScannedCode

What a scanned QR code (or an incoming deep link) asks the wallet to do. Standards-based only — app-specific links (e.g. a verifier's own https://… short link) are the app's to translate first.

Link copied to clipboard
object Wallet

Entry point for the Wallet SDK.

Link copied to clipboard
interface WalletSdk

The SDK object your app creates once. It has both roles: wallet holds and shares credentials, and verifier reads and checks them. Most apps use one of the two.

Functions

Link copied to clipboard

Register this wallet as an Android Digital Credentials provider (Credential Manager), so that when a site calls the W3C Digital Credentials API (navigator.credentials.get) Android shows a wallet picker including this app. When the user picks it, Credential Manager launches the app's CredentialManagerPresentmentActivity (declared in the manifest with the androidx.credentials.registry.provider.action.GET_CREDENTIAL intent-filter) to run consent + response.