[Sub] Token exchange session response

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

typedescriptionexample
datadata containing the session_id. if qr type was requested it's a base64 format string. Otherwise an encoded json
expiration_timeExpiration time of the session_id1500000000030
request_idThe request id sent in the authentication_qr_req87049f68-696f-4be8-a6cc-bf827c04ed0e
errorsarray of strings.
  • Ensure that the is valid and corresponds to a registered device.