-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Labels
Description
I am creating/consuming signed statements. I would like to be able to get at the original string of the statement in a multi-part response. In LRS.js line 237, you could pass parameters to indicate you would like to keep the original statement object (minus the content attribute in the attachment). Or you could assign the originalJSON to JSON.parse(parsedResponse[0].body) after you created the statement. Either way, is there a reason not to set the original string of the statement from the response? I'm wanting it so I can verify/validate the JWS in the attachment, and then provide that to another LRS (exporting it so to speak). Thoughts on this export process that would be better?