CredentialPresentmentData

An object containing data related to a credential presentment event.

This object is intended to be used for user interfaces for the user to consent to and possible select which credentials to return. See the Consent composable in multipaz-compose and Consent view in multipaz-swift for examples of how to do this.

Constructors

Link copied to clipboard
constructor(credentialSets: List<CredentialPresentmentSet>)

Properties

Link copied to clipboard

A list of credential sets which can be presented. Contains at least one set but may contain more.

Functions

Link copied to clipboard

Consolidates matches from several options and members into one.

Link copied to clipboard
fun select(preselectedDocuments: List<Document>): CredentialPresentmentSelection

Selects a particular combination of credentials to present.