DigitalCredentials

An interface for interacting with the W3C Digital Credentials API provider on the platform, if available.

Inheritors

Types

Link copied to clipboard

The default implementation of the DigitalCredentials API on the platform.

Properties

Link copied to clipboard
abstract val available: Boolean

Whether this API is available on the platform.

Link copied to clipboard

The set of W3C Digital Credentials protocols currently selected.

Link copied to clipboard

The set of W3C Digital Credentials protocols supported.

Functions

Link copied to clipboard
abstract suspend fun setSelectedProtocols(protocols: Set<String>)

Sets the supported W3C Digital Credentials protocols, in order of preference.

Link copied to clipboard
abstract suspend fun startExportingCredentials(documentStore: DocumentStore, documentTypeRepository: DocumentTypeRepository)

Registers all documents in the given DocumentStore with the platform.

Link copied to clipboard
abstract suspend fun stopExportingCredentials(documentStore: DocumentStore)

Stops exporting documents.