authenticate

Authenticates a client / device by a JSON Web Token. After successful authentication, all subsequent messages may exclude JSON Web Token parameter.

Authorization

None

Request Topic and Payload

Topic

dh/request

Payload Representation

{
    "action": {string},
    "requestId": {object},
    "token": {string}
}

Payload Parameters

Property NameRequiredTypeDescription
actionYesstringAction name: authenticate
requestIdNoobjectRequest unique identifier, will be passed back in the response message.
tokenYesobjectAccess JSON Web Token.

Response Topic and Payload

Topic

dh/response/authenticate@{clientId}

Payload Representation

{
    "action": {string},
    "status": {string},
    "requestId": {object}
}

Payload Parameters

Property NameTypeDescription
actionstringAction name: authenticate
statusstringOperation execution status (success or error).
requestIdobjectRequest unique identifier as specified in the request message.