IosIdentityDocumentRegistry

class IosIdentityDocumentRegistry(appGroupIdentifier: String?, walletId: String) : MobileWalletCredentialRegistry

App-to-extension desired-state bridge for Apple's IdentityDocumentServices registration store.

This publishes what the wallet wants registered; only Swift can talk to IdentityDocumentProviderRegistrationStore, so the host app and the provider extension read this state and reconcile Apple's actual registrations against it. The desired state is written regardless of the reported authorization status, so authorizing the provider later lets performRegistrationUpdates() rebuild Apple's registry without reissuing any credential.

Parameters

appGroupIdentifier

App Group holding the projection; null disables Apple registration.

walletId

Wallet this registry projects, published with the projection.

Constructors

Link copied to clipboard
constructor(appGroupIdentifier: String?, walletId: String)

Types

Link copied to clipboard
object Companion

Shared-defaults contract between the wallet core, the iOS host app, and its provider extension.

Properties

Link copied to clipboard
open override val capabilities: MobileWalletDigitalCredentialCapabilities

Current iOS platform and registration availability.

Functions

Link copied to clipboard
open suspend fun registerCreationOptions(): MobileWalletCredentialRegistrationResult

Registers OpenID4VCI creation options (what the wallet can receive via CREATE_CREDENTIAL).

Link copied to clipboard
open suspend override fun replace(registryId: String, records: List<MobileWalletCredentialRegistryRecord>): MobileWalletCredentialRegistrationResult

Publishes one desired Apple registration per presentable mdoc credential in records.