...
ClearBlade IoT Core requires the following reserved claim fields. They may appear in any order in the claim set.
Name | Description | Required for |
---|---|---|
| ("Issued At"): The timestamp when the token was created, specified as seconds since 00:00:00 UTC, January 1, 1970. The server may report an error if this timestamp is too far in the past or future (allowing 10 minutes for skew). | MQTT, HTTP |
| ("Expiration"): The timestamp when the token stops being valid, specified as seconds since 00:00:00 UTC, January 1, 1970. The token’s maximum lifetime is 24 hours + skew.
| MQTT, HTTP |
| ("Audience"): This must be a single string containing the cloud project ID where the device is registered. The authentication will only be allowed with further analysis if the connection request matches this project ID. | MQTT |
| (“System Key”): This must be a single string containing the ClearBlade Registry’s System Key. This can be obtained by clicking the “API Keys” button (key icon) at the top-right of the Registry Details page of the ClearBlade Registry. | HTTP |
| (“User ID”): This must be a single string containing the deviceId of the device. | HTTP |
| (“User Type”): This must be an integer hard-coded to value 3. | HTTP |
...