Authenticate

Authenticate : Authenticates the user

What is returned ?
Nothing. This function authenticates the user and sends response accordingly
Sample Request (JavaScript)
 function Authenticate()
  {
     writeToScreen("Authenticate");
    var message = 
    {
       MessageType: "Authenticate",
       Password: accessKey
     };
    doSend(message);
  }
JSON Response
{"Complete":true,"Message":"Welcome!","MessageType":"AuthenticateResult"}"

Was this helpful?