matchInputDescriptorsAgainstCredentialStore

open suspend override fun matchInputDescriptorsAgainstCredentialStore(inputDescriptors: Collection<InputDescriptor>, fallbackFormatHolder: FormatHolder?, pathAuthorizationValidator: PathAuthorizationValidator?): KmmResult<Map<String, Map<SubjectCredentialStore.StoreEntry, Map<ConstraintField, NodeList>>>>

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.