@@ -355,7 +355,7 @@ from claim in sdJwtRecord.Claims
355355 ClientId = authorizationRequest . ClientId ,
356356 ClientMetadata = authorizationRequest . ClientMetadata ,
357357 Name = authorizationRequest . Requirements . Match (
358- dcqlQuery => Option < string > . None ,
358+ _ => Option < string > . None ,
359359 presentationDefinition => presentationDefinition . Name ) ,
360360 PresentedCredentialSets = presentedCredentials . ToList ( )
361361 } ;
@@ -637,7 +637,7 @@ from claim in sdJwtRecord.Claims
637637 ClientId = authorizationRequest . ClientId ,
638638 ClientMetadata = authorizationRequest . ClientMetadata ,
639639 Name = authorizationRequest . Requirements . Match (
640- dcqlQuery => Option < string > . None ,
640+ _ => Option < string > . None ,
641641 presentationDefinition => presentationDefinition . Name ) ,
642642 PresentedCredentialSets = presentedCredentials . ToList ( )
643643 } ;
@@ -675,7 +675,7 @@ public async Task<Validation<AuthorizationRequestCancellation, PresentationCandi
675675 var uc5TxDataOption = presentationCandidates
676676 . AuthorizationRequest
677677 . Requirements . Match (
678- dcqlQuery => Option < IEnumerable < InputDescriptorTransactionData > > . None ,
678+ _ => Option < IEnumerable < InputDescriptorTransactionData > > . None ,
679679 presentationDefinition => presentationDefinition . InputDescriptors . TraverseAny ( descriptor =>
680680 descriptor . TransactionData . OnSome ( list =>
681681 new InputDescriptorTransactionData ( descriptor . Id , list ) ) ) ) ;
@@ -713,7 +713,8 @@ private static Validation<AuthorizationRequestCancellation, PresentationCandidat
713713 return candidates . FindCandidateForTransactionData ( transactionData ) . Match (
714714 candidate => candidate . AddTransactionData ( transactionData ) ,
715715 ( ) => ( Validation < PresentationCandidate > ) new InvalidTransactionDataError (
716- $ "No credentials found that satisfy the transaction data with type { transactionData . GetTransactionDataType ( ) . AsString ( ) } ") ) ;
716+ $ "No credentials found that satisfy the transaction data with type { transactionData . GetTransactionDataType ( ) . AsString ( ) } ",
717+ presentationCandidates ) ) ;
717718 } ) ;
718719
719720 return candidatesValidation . OnSuccess ( enumerable => presentationCandidates with
@@ -722,7 +723,8 @@ private static Validation<AuthorizationRequestCancellation, PresentationCandidat
722723 } ) ;
723724 } ,
724725 ( ) => new InvalidTransactionDataError (
725- "No credentials found that satisfy the authorization request with transaction data" )
726+ "No credentials found that satisfy the authorization request with transaction data" ,
727+ presentationCandidates )
726728 . ToInvalid < PresentationCandidates > ( )
727729 ) ;
728730
@@ -748,7 +750,9 @@ private static Validation<AuthorizationRequestCancellation, PresentationCandidat
748750
749751 return candidateOption . Match (
750752 candidate => candidate . AddUc5TransactionData ( inputDescriptorTxData . TransactionData ) ,
751- ( ) => ( Validation < PresentationCandidate > ) new InvalidTransactionDataError ( "No credentials found that satisfy the authorization request with transaction data" )
753+ ( ) => ( Validation < PresentationCandidate > ) new InvalidTransactionDataError (
754+ "No credentials found that satisfy the authorization request with transaction data" ,
755+ presentationCandidates )
752756 ) ;
753757 } ) ;
754758
0 commit comments