match Input Descriptors Against Credential Store
abstract suspend fun matchInputDescriptorsAgainstCredentialStore(presentationDefinition: PresentationDefinition, fallbackFormatHolder: FormatHolder? = null, pathAuthorizationValidator: (SubjectCredentialStore.StoreEntry, NormalizedJsonPath) -> Boolean = { _, _ -> true }): 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
fallback Format Holder
: 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
path Authorization Validator
: Provides the user of this library with a way to enforce authorization rules.