UNPKG

asposewordscloud

Version:
44 lines (43 loc) 1.01 kB
import { IAuthentication } from "../internal/auth"; /** * Aspose.Words for Cloud API configuration */ export declare class Configuration { /** * Authentication. */ authentication: IAuthentication; /** * Client ID. */ ClientId: string; /** * Client secret. */ ClientSecret: string; /** * Base Url. */ baseUrl: string; /** * Gets or sets a value indicating whether debug mode. In debug mode all requests and responses are logged to console. */ debugMode: boolean; /** * Timeout in seconds. Default value is 100 seconds. */ timeout: number; /** * RSA public key modulus as base64 string. Optional. */ modulus: string; /** * RSA public key exponent as base64 string. Optional. */ exponent: string; constructor(clientId: string, clientSecret: string, baseUrl?: string, debugMode?: boolean); /** * Returns api base url */ getApiBaseUrl(): string; }