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.

Types

Link copied to clipboard
object Companion

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.

Link copied to clipboard
abstract suspend fun request(request: JsonObject): JsonObject

Request credentials from wallet applications.