Authentication
This message is sent by the SDK when the authentication is accepted or rejected by the websocket server.
When succesful, the SDK is able to send and receive information on the map webpage.
Headers
type
: AUTHauthor
: sdk Idrecipients
: session Idstatus
: RECEIVED or ERROR
payload
authenticationAnswer
: String containing the authentication answer or error message
Example
Example of a successful authentication
{
"type": "AUTH",
"payload": {
"authenticationAnswer": "Client authenticated : sdk_87C07571-7268-4254-8335-BA73951E3C5D, recipients : [wv_87C07571-7268-4254-8335-BA73951E3C5D]"
},
"author": "sdk_87C07571-7268-4254-8335-BA73951E3C5D",
"recipients": [
"87C07571-7268-4254-8335-BA73951E3C5D"
],
"status": "RECEIVED"
}