/** * 统一管理平台API文档 * 包含模块:会员、账号、商品、支付、咨询、营销 * * OpenAPI spec version: 2.0 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { AxiosPromise, AxiosInstance } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { AuthBody } from '../models'; import { ResponseResult } from '../models'; /** * AuthControllerApi - axios parameter creator * @export */ export declare const AuthControllerApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary 登录授权获取AccessToken接口 * @param {string} appid * @param {AuthBody} [body] auth body * @param {*} [options] Override http request option. * @throws {RequiredError} */ authLogin: (appid: string, body?: AuthBody, options?: any) => Promise; /** * * @summary 应用账号获取token接口 * @param {AuthBody} [body] auth body * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAccessToken: (body?: AuthBody, options?: any) => Promise; /** * * @summary 应用AccessToken续期 * @param {string} appid * @param {any} [body] access token string in json object * @param {*} [options] Override http request option. * @throws {RequiredError} */ tokenRenewal: (appid: string, body?: any, options?: any) => Promise; /** * * @summary 应用AccessToken有效性验证 * @param {string} appid * @param {string} [body] access token string * @param {*} [options] Override http request option. * @throws {RequiredError} */ validateToken: (appid: string, body?: string, options?: any) => Promise; }; /** * AuthControllerApi - functional programming interface * @export */ export declare const AuthControllerApiFp: (configuration?: Configuration) => { /** * * @summary 登录授权获取AccessToken接口 * @param {string} appid * @param {AuthBody} [body] auth body * @param {*} [options] Override http request option. * @throws {RequiredError} */ authLogin(appid: string, body?: AuthBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary 应用账号获取token接口 * @param {AuthBody} [body] auth body * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAccessToken(body?: AuthBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary 应用AccessToken续期 * @param {string} appid * @param {any} [body] access token string in json object * @param {*} [options] Override http request option. * @throws {RequiredError} */ tokenRenewal(appid: string, body?: any, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary 应用AccessToken有效性验证 * @param {string} appid * @param {string} [body] access token string * @param {*} [options] Override http request option. * @throws {RequiredError} */ validateToken(appid: string, body?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * AuthControllerApi - factory interface * @export */ export declare const AuthControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @summary 登录授权获取AccessToken接口 * @param {string} appid * @param {AuthBody} [body] auth body * @param {*} [options] Override http request option. * @throws {RequiredError} */ authLogin(appid: string, body?: AuthBody, options?: any): AxiosPromise; /** * * @summary 应用账号获取token接口 * @param {AuthBody} [body] auth body * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAccessToken(body?: AuthBody, options?: any): AxiosPromise; /** * * @summary 应用AccessToken续期 * @param {string} appid * @param {any} [body] access token string in json object * @param {*} [options] Override http request option. * @throws {RequiredError} */ tokenRenewal(appid: string, body?: any, options?: any): AxiosPromise; /** * * @summary 应用AccessToken有效性验证 * @param {string} appid * @param {string} [body] access token string * @param {*} [options] Override http request option. * @throws {RequiredError} */ validateToken(appid: string, body?: string, options?: any): AxiosPromise; }; /** * AuthControllerApi - object-oriented interface * @export * @class AuthControllerApi * @extends {BaseAPI} */ export declare class AuthControllerApi extends BaseAPI { /** * * @summary 登录授权获取AccessToken接口 * @param {string} appid * @param {AuthBody} [body] auth body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AuthControllerApi */ authLogin(appid: string, body?: AuthBody, options?: any): Promise>; /** * * @summary 应用账号获取token接口 * @param {AuthBody} [body] auth body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AuthControllerApi */ getAccessToken(body?: AuthBody, options?: any): Promise>; /** * * @summary 应用AccessToken续期 * @param {string} appid * @param {any} [body] access token string in json object * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AuthControllerApi */ tokenRenewal(appid: string, body?: any, options?: any): Promise>; /** * * @summary 应用AccessToken有效性验证 * @param {string} appid * @param {string} [body] access token string * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AuthControllerApi */ validateToken(appid: string, body?: string, options?: any): Promise>; }