logout
Table of Contents

logout🔗

logout(doNotDisableAutoLogin?: boolean = false) : Promise< boolean >

Logs out from ThoughtSpot. This also sets the autoLogin flag to false, to prevent the SDK from automatically logging in again.

You can call the init method again to re login, if autoLogin is set to true in this second call it will be honored.

Function Parameters

doNotDisableAutoLogin
  • doNotDisableAutoLogin: boolean = false

This flag when passed will not disable autoLogin

Returns

Promise< boolean >

Version : SDK: 1.10.1 | ThoughtSpot: 8.2.0.cl, 8.4.1-sw

Defined in : embed/base.ts