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); }) .catch(function () { console.log("[CTLIVE WIDGET] [ERROR] Login"); });