DigitalCredentials
interface DigitalCredentials
An interface for interacting with the W3C Digital Credentials API provider on the platform.
Use DigitalCredentials.Companion.getDefault from the multipaz-dcapi library to obtain an instance.
Properties
Link copied to clipboard
Whether the application is authorized to use the register method.
Link copied to clipboard
Whether the register method is available on the platform.
Link copied to clipboard
Whether the request method is available on the platform.
Link copied to clipboard
The set of W3C Digital Credentials protocols supported by the register method.
Functions
Link copied to clipboard
abstract suspend fun register(documentStore: DocumentStore, documentTypeRepository: DocumentTypeRepository, selectedProtocols: Set<String> = supportedProtocols)
Registers all documents in documentStore and removes registrations for previously registered documents no longer in documentStore.