logout

Performs SSO logout.

Look at CTLive Agent Login and Logout for more information

Returns

Type

Description

Type

Description

JS Promise

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

Example:

LIVECAHT.logout() .then(function (data) { console.log("[CTLIVE WIDGET] Logout", data); }) .catch(function () { console.log("[CTLIVE WIDGET] [ERROR] Logout"); });