Wallet
Entry point for the Wallet SDK.
Pick the setup for your app's role: a verifier app checks credentials, a wallet app holds and shares them. create takes every setting at once, for apps that need more control.
// A verifier app
val sdk = Wallet.createVerifier(TrustedIssuers(signedList = issuerList), readerIdentity)
// A wallet app
val sdk = Wallet.createWallet(IssuerConfig(issuerUrl, clientId, redirectUri), TrustedVerifiers(signedList = readerList))Create it once per app and keep it for the app's lifetime.
Functions
A verifier app: checks credentials in person.
A verifier app that also checks your own document types (beyond the built-in driving licence).
A wallet app: holds credentials and shares them.
A wallet app with your own document types and, optionally, a check before sharing.
The configuration createWallet builds, as a value: for an iOS wallet with a Digital Credentials provider extension, which must open the same store as the app (Wallet.create(config) in the app, WalletDocumentProvider(config) in the extension).