matchInputDescriptorsAgainstCredentialStore

open suspend override fun matchInputDescriptorsAgainstCredentialStore(presentationDefinition: PresentationDefinition, fallbackFormatHolder: FormatHolder?, pathAuthorizationValidator: (SubjectCredentialStore.StoreEntry, NormalizedJsonPath) -> Boolean): KmmResult<Map<InputDescriptor, HolderAgent.CandidateInputMatchContainer?>>

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.