Class PresentationRequestBuilder
- java.lang.Object
-
- org.hyperledger.aries.api.present_proof.PresentationRequestBuilder
-
public class PresentationRequestBuilder extends Object
Used in scenarios where 'auto-respond-presentation-request' is set to false. The helper takes the result of the following two api calls: 1. /present-proof/records/{pres_ex_id} 2. /present-proof/records/{pres_ex_id}/credentials To generate the model for /present-proof/records/{pres_ex_id}/send-presentation https://github.com/hyperledger/aries-rfcs/blob/master/concepts/0441-present-proof-best-practices/README.md
-
-
Constructor Summary
Constructors Constructor Description PresentationRequestBuilder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Optional<PresentationRequest>acceptAll(@NonNull PresentationExchangeRecord presentationExchange, @NonNull List<PresentationRequestCredentials> matchingCredentials)Auto accept all matching credentials
-
-
-
Method Detail
-
acceptAll
public static Optional<PresentationRequest> acceptAll(@NonNull @NonNull PresentationExchangeRecord presentationExchange, @NonNull @NonNull List<PresentationRequestCredentials> matchingCredentials)
Auto accept all matching credentials- Parameters:
presentationExchange-PresentationExchangeRecordmatchingCredentials-PresentationRequestCredentials- Returns:
PresentationRequest
-
-