import { GetTokenParams, TokenResponse } from './TokenCredential'; import { TokenSessionCredential } from './TokenSessionCredential'; /** * 获取企业内部应用的授权凭证 * * @see https://open.dingtalk.com/document/orgapp/obtain-the-access_token-of-an-internal-app */ export declare class AuthCredential extends TokenSessionCredential { clientId?: string; clientSecret?: string; constructor(params?: AuthGetTokenParams); protected request(params?: AuthGetTokenParams): Promise; } export interface AuthGetTokenParams extends GetTokenParams { /** * 企业内部开发 AppKey * 第三方企业应用 SuiteKey。 */ clientId?: string; /** * 企业内部开发 AppSecret * 第三方企业应用 SuiteSecret */ clientSecret?: string; }