After the session id has been created by things5 following a token exchange session request this message will be sent
Request Topic and Payload
Topic
things5-production/v1/devices/<device-id>/req/token_exchange_session_res
Payload Representation
{
"data": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII=",
"errors": [],
"expiration_time": 1500000000030,
"request_id": "87049f68-696f-4be8-a6cc-bf827c04ed0"
}
Payload Parameters
type | description | example |
---|---|---|
data | data containing the session_id. if qr type was requested it's a base64 format string. Otherwise an encoded json | |
expiration_time | Expiration time of the session_id | 1500000000030 |
request_id | The request id sent in the authentication_qr_req | 87049f68-696f-4be8-a6cc-bf827c04ed0e |
errors | array of strings. |
- Ensure that the is valid and corresponds to a registered device.