@wigetapp/accesstoken
Version:
wxs 微信系开发脚手架之微信 accesstoken
29 lines • 1.14 kB
TypeScript
import { ApiConfig } from '../ApiConfig';
import { ICache } from '@wigetapp/cache';
/**
* @author wigetapp
* @copyright wx@wigetapp.com
* @description 企业微信 QyApiConfigKit
*/
export declare class QyApiConfigKit {
static CFG_MAP: Map<String, ApiConfig>;
static SEPARATOR: string;
static currentAppId: string;
static devMode: boolean;
static _cache: ICache;
set devMode(devMode: boolean);
static isDevMode(): boolean;
static putApiConfig(apiConfig: ApiConfig): Map<String, ApiConfig>;
static removeApiConfigByConfig(apiConfig: ApiConfig): boolean;
static removeApiConfig(appId: string, corpId: string): boolean;
static setCurrentAppId(appId: string, corpId: string): void;
static removeCurrentAppId(): void;
static get getCorpId(): string;
static get getAppId(): string;
static get getToken(): string;
static get getApiConfig(): ApiConfig;
static getApiConfigByAppId(appId: string, corpId: string): ApiConfig;
static get getCache(): ICache;
static set setCache(cache: ICache);
}
//# sourceMappingURL=QyApiConfigKit.d.ts.map