getInstantDocumentDescriptorForJwt

Returns the document descriptor matching the data encoded in the given JWT.

Parameters

jwt

The JWT defining the document and its layer. Obtain this from your backend.

Throws

when the JWT cannot be parsed, the data on disk could not be accessed (e.g. due to permission errors, or data corruption), or when the data on disk belongs to another user than what is encoded in the JWT.