We have handlers that handles signing and other actions that receives results either from prompt, or from persisted permission that user have given to the (web) app.
This task is to improve the behavior and use the handler to prepare the content to be verified by the user. This is because in some cases, like Blockcore Vault setup, the signing require custom input (domain name), and the result will be an dynamic JSON that includes the domain and other information from the DID, resulting in an DID Document.
Since the prompts can be approved for 5 minutes or forever, the UI cannot be doing any logic to the content, that must be done by the handler.
We have handlers that handles signing and other actions that receives results either from prompt, or from persisted permission that user have given to the (web) app.
This task is to improve the behavior and use the handler to prepare the content to be verified by the user. This is because in some cases, like Blockcore Vault setup, the signing require custom input (domain name), and the result will be an dynamic JSON that includes the domain and other information from the DID, resulting in an DID Document.
Since the prompts can be approved for 5 minutes or forever, the UI cannot be doing any logic to the content, that must be done by the handler.