DigitalCredentials
interface DigitalCredentials
An interface for interacting with a W3C Digital Credentials API provider.
Implementations include DigitalCredentialsCredman from the multipaz-dcapi-credman library and DigitalCredentialsIos from the multipaz-dcapi-ios library.
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, forceRegistration: Boolean = false)
Registers all documents in documentStore and removes registrations for previously registered documents no longer in documentStore.