UNPKG

@tnwx/accesstoken

Version:

TNWX 微信系开发脚手架之微信 accesstoken

30 lines (29 loc) 912 B
/** * @author Javen * @copyright javendev@126.com * @description ApiConfig */ export declare class ApiConfig { private token; private appId; private corpId; private appScrect; private ticket; private encryptMessage; private encodingAesKey; constructor(appId?: string, appScrect?: string, token?: string, encryptMessage?: boolean, encodingAesKey?: string, corpId?: string); get getToken(): string; set setToken(token: string); get getAppId(): string; set setAppId(appId: string); get getCorpId(): string; set setCorpId(corpId: string); get getTicket(): string; set setTicket(ticket: string); get getAppScrect(): string; set setAppScrect(appScrect: string); get getEncryptMessage(): boolean; set setEncryptMessage(encryptMessage: boolean); get getEncodingAesKey(): string; set setEncodingAesKey(encodingAesKey: string); }