@dustlight/auth-client-axios-js
Version:
Javascript Client SDK for Auth-Service
56 lines (55 loc) • 1.42 kB
TypeScript
/**
* Auth Service
* 提供身份管理服务以及OAuth2授权服务。身份管理服务包含用户管理、角色管理、权限管理等,OAuth2授权服务包含应用管理、应用授权模式与授权作用域管理等。
*
* The version of the OpenAPI document: v1
* Contact: hansin@dustlight.cn
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Configuration } from "./configuration";
import { AxiosInstance } from 'axios';
export declare const BASE_PATH: string;
/**
*
* @export
*/
export declare const COLLECTION_FORMATS: {
csv: string;
ssv: string;
tsv: string;
pipes: string;
};
/**
*
* @export
* @interface RequestArgs
*/
export interface RequestArgs {
url: string;
options: any;
}
/**
*
* @export
* @class BaseAPI
*/
export declare class BaseAPI {
protected basePath: string;
protected axios: AxiosInstance;
protected configuration: Configuration | undefined;
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
}
/**
*
* @export
* @class RequiredError
* @extends {Error}
*/
export declare class RequiredError extends Error {
field: string;
name: "RequiredError";
constructor(field: string, msg?: string);
}