matchInputDescriptorsAgainstCredentialStore

abstract suspend fun matchInputDescriptorsAgainstCredentialStore(inputDescriptors: Collection<InputDescriptor>, fallbackFormatHolder: FormatHolder? = null, pathAuthorizationValidator: PathAuthorizationValidator? = null): KmmResult<Map<String, InputDescriptorMatches>>

Creates a mapping from the input descriptors of the presentation definition to matching credentials and the fields that would need to be disclosed.

Parameters

fallbackFormatHolder

: format holder to be used in case there is no format holder in a given presentation definition and the input descriptor. This will mostly resolve to be the some clientMetadata.vpFormats

pathAuthorizationValidator

: Provides the user of this library with a way to enforce authorization rules on attribute credentials that are to be disclosed.