Helper class for handling Claiming API calls to the cloud.

Constructors

Methods

  • Verifies the claiming by sending CSR to the cloud and getting the certificate.

    Parameters

    • csrData: ClaimVerifyRequest

      The CSR JSON data from the device

    • OptionalclaimCapability: CAMERA_CLAIM

      Optional claim capability string. When set to ClaimCapabilities.CAMERA_CLAIM, adds node_policies for video streaming.

    Returns Promise<string>

    Promise resolving to the certificate data

    Error if the API call fails