Metadata_Authentication_ComponentData

Metadata_Authentication_ComponentData
Metadata_Authentication_ComponentData

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

JSON Example
{
    "info": {
        "packages": {
            "packages": {
                "schemes": [
                    {
                        "scheme_type": "string",
                        "session_manager": "string",
                        "scheme": "string"
                    }
                ],
                "services": {
                    "services": {
                        "schemes": [
                            "Metadata_Authentication_AuthenticationInfo Object"
                        ],
                        "operations": {
                            "operations": {
                                "schemes": [
                                    "Metadata_Authentication_AuthenticationInfo Object"
                                ]
                            }
                        }
                    }
                }
            }
        }
    },
    "fingerprint": "string"
}
info
Required

The ComponentInfo structure contains authentication information of a component element. For an explanation of authentication information contained within component elements, see Component.

string
fingerprint
Required

Fingerprint of the metadata of the component. Authentication 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 authentication information for the component.