acceptOffer

Accept a previously received offer and issue a credential.

This will:

  1. Call receiveOffer to resolve the offer.

  2. Try each Offer.offeredDocuments in order via issueOne.

  3. Return the first successfully issued IssuedCredentialSummary.

Return

The first successful IssuedCredentialSummary.

Parameters

uriOffer

The same credential offer URI shown to the user.

Throws

if the offer has no document types.

if no document could be issued.

if issuing succeeded, but building a summary from the SD-JWT failed.

if the offer cannot be resolved.