Class V1CredentialFreeOfferHelper
- java.lang.Object
-
- org.hyperledger.aries.api.issue_credential_v1.V1CredentialFreeOfferHelper
-
public class V1CredentialFreeOfferHelper extends Object
Helper class that creates a out-of-band invitation with an attached credential offer. It is uses of two api requests: 1. /issue-credential/create-offer 2. /out-of-band/create-invitation Like it is with the connection-less proof-request the barcode only points to a temporary URL which then redirects to another URL in the location header that then contains the credential offer in the m parameter like https://mydomain.com?m=ey... The base64 encoded url can be found in the invitationRecord.invitationUrl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classV1CredentialFreeOfferHelper.CredentialFreeOffer
-
Constructor Summary
Constructors Constructor Description V1CredentialFreeOfferHelper(AriesClient acaPy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V1CredentialFreeOfferHelper.CredentialFreeOfferbuildFreeOffer(@NonNull String credentialDefinitionId, Map<String,String> document)
-
-
-
Constructor Detail
-
V1CredentialFreeOfferHelper
public V1CredentialFreeOfferHelper(AriesClient acaPy)
-
-
Method Detail
-
buildFreeOffer
public V1CredentialFreeOfferHelper.CredentialFreeOffer buildFreeOffer(@NonNull @NonNull String credentialDefinitionId, Map<String,String> document)
-
-