@zcatalyst/utils
Version:
8 lines (7 loc) • 357 B
TypeScript
import { ICatalystAppConfig } from './interface';
export declare function addDefaultAppHeaders(headers: Record<string, string>, values: ICatalystAppConfig): Record<string, string>;
export declare function getToken(key?: string): string;
export declare function setToken(authObj: {
access_token?: string;
expires_in?: number;
}, key?: string): void;