Apps can set Metadata to the MutableData. This Metadata will have name and description
.
For example, if the web hosting app is creating a service container for a public id krishna
, it will set its metadata as
{
name: 'Service Container for Public ID Krishna',
description: 'This is the root service container where all the services for the Publid ID krishna will be stored'
}
When email app is requesting access for this service container, it will send the XOR name and tag type in the request.
If we present just the XOR name in the UI, it wont be helpful for the user to decide on what the MutableData is related to.
Authenticator will try to retrieve the metadata if it is available and present it in the UI. It is not mandatory to set the Metadata for requesting access, it is only a good to have
as a standard practice to help the user decide before they grant the permission.
Once the IPC is integrated with the example apps and tested, we can walk through the code flow in the dev forum using a simple snippet.