UNPKG

@kinvolk/headlamp-plugin

Version:

The needed infrastructure for building Headlamp plugins.

14 lines (13 loc) 399 B
/** * getBackstageToken gets the backstage token from the local storage * * @returns the backstage token */ export declare function getBackstageToken(): string | null; /** * setupBackstageMessageReceiver sets up a listener for messages from the backstage app * and sets the backend token if it is received * * @returns void */ export declare function setupBackstageMessageReceiver(): void;