Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Performs SSO login

Parameters:

Name

Mandatory

Type

Description

jwt_token

NO

STRING

A json web token to perform authentication.

Returns:

Type

Description

JS Promise

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

Example:

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");
});
  • No labels