Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Type

Description

JS Promise

A Javascript Promise that returns an object with the result of the login request.

Example:

Code Block
languagejs
LIVECAHT.login()
.then(function (data) {
  console.log("[CTLIVE WIDGET] Login", data);
  // {result: true, sessionToken: <UUID>, error: null}
})
.catch(function () {
  console.log("[CTLIVE WIDGET] [ERROR] Login");
});