toCredentialSelection
fun toCredentialSelection(selections: List<Int>, transactionUserInput: Map<CredentialPresentmentSetOptionMemberMatch, Map<String, TransactionUserInput>> = emptyMap()): CredentialSelection
Calculates a CredentialSelection from a list of selections.
Return
Parameters
selections
the solution selected for each use-case or -1 if not selecting an optional use-case.
transactionUserInput
additional user input for transactions, indexed by credential match and transaction type identifier.