@thoughtspot/visual-embed-sdk
Version:
ThoughtSpot Embed SDK
18 lines • 603 B
TypeScript
import { EmbedConfig } from './types';
/**
*
* @param embedConfig
*/
export declare function getAuthenticationToken(embedConfig: EmbedConfig): Promise<string>;
export declare const validateAuthToken: (embedConfig: EmbedConfig, authToken: string, suppressAlert?: boolean) => Promise<boolean>;
/**
* Resets the auth token and a new token will be fetched on the next request.
* @example
* ```js
* resetCachedAuthToken();
* ```
* @version SDK: 1.28.0 | ThoughtSpot: *
* @group Authentication / Init
*/
export declare const resetCachedAuthToken: () => void;
//# sourceMappingURL=authToken.d.ts.map