Skip to content

Commit

Permalink
fixup! SDK-2262: Add Digital Identity Session Receipt retrieval service
Browse files Browse the repository at this point in the history
  • Loading branch information
irotech committed Jul 31, 2023
1 parent 21cd0ba commit 341fbe9
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ public class DigitalIdentityClient {
/**
* Create a sharing session to initiate a sharing process based on a policy.
*
* @param request Details of the request like policy, extensions and push notification for the application
* @return ID, status and expiry of the newly created share session
* @throws DigitalIdentityException Thrown if the session creation is unsuccessful
*/
public ShareSession createShareSession(ShareSessionRequest request) throws DigitalIdentityException {
return identityService.createShareSession(sdkId, keyPair, request);
Expand All @@ -48,9 +46,7 @@ public ShareSession createShareSession(ShareSessionRequest request) throws Digit
/**
* Retrieve the sharing session.
*
* @param sessionId ID of the session to retrieve
* @return ID, status and expiry of the share session
* @throws DigitalIdentityException Thrown if the session retrieval is unsuccessful
*/
public ShareSession fetchShareSession(String sessionId) throws DigitalIdentityException {
return identityService.fetchShareSession(sdkId, keyPair, sessionId);
Expand All @@ -59,9 +55,7 @@ public ShareSession fetchShareSession(String sessionId) throws DigitalIdentityEx
/**
* Create a sharing session QR code to initiate a sharing process based on a policy.
*
* @param sessionId Session ID the QR code will belong to
* @return ID and URI of the newly created share session QR code
* @throws DigitalIdentityException Thrown if the QR code creation is unsuccessful
*/
public ShareSessionQrCode createShareQrCode(String sessionId) throws DigitalIdentityException {
return identityService.createShareQrCode(sdkId, keyPair, sessionId);
Expand All @@ -70,9 +64,7 @@ public ShareSessionQrCode createShareQrCode(String sessionId) throws DigitalIden
/**
* Retrieve the sharing session QR code.
*
* @param qrCodeId ID of the QR code to retrieve
* @return The content of the share session QR code
* @throws DigitalIdentityException Thrown if the QR code retrieval is unsuccessful
*/
public ShareSessionQrCode fetchShareQrCode(String qrCodeId) throws DigitalIdentityException {
return identityService.fetchShareQrCode(sdkId, keyPair, qrCodeId);
Expand All @@ -83,9 +75,7 @@ public ShareSessionQrCode fetchShareQrCode(String qrCodeId) throws DigitalIdenti
*
* <p>A receipt will contain the shared user attributes.</p>
*
* @param receiptId ID of the receipt
* @return Shared user attributes
* @throws DigitalIdentityException Thrown if the receipt retrieval is unsuccessful
*/
public Receipt fetchShareReceipt(String receiptId) throws DigitalIdentityException {
return identityService.fetchShareReceipt(sdkId, keyPair, receiptId);
Expand Down

0 comments on commit 341fbe9

Please sign in to comment.