Developer Documentation

PrivilegeComponentData

The ComponentData structure contains the privilege information of the component along with its fingerprint.


Properties

Required Property Name Type Description
required fingerprint string

Fingerprint of the metadata of the component. Privilege information could change when there is an infrastructure update. Since the data present in ComponentData.info could be quite large, ComponentData.fingerprint provides a convenient way to check if the data for a particular component is updated.

You should store the fingerprint associated with a component. After an update, by invoking the Component.fingerprint operation, you can retrieve the new fingerprint for the component. If the new fingerprint and the previously stored fingerprint do not match, clients can then use the Component.get to retrieve the new privilege information for the component.

required info PrivilegeComponentInfo

Privilege information of the component. This includes information about all the packages in the component.

Feedback

Was this page helpful?