UNPKG

@maccuaa/intellitrust-issuance-sdk

Version:
39 lines (37 loc) 1.11 kB
/** * Entrust Identity as a Service Issuance API * 5.42 * Contact: support@entrust.com * */ export interface ConfigurationParameters { apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>); basePath?: string; } export declare class Configuration { /** * parameter for apiKey security * @param name security name * @memberof Configuration */ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>); /** * override base path * * @type {string} * @memberof Configuration */ basePath?: string; constructor(param?: ConfigurationParameters); /** * Check if the given MIME is a JSON MIME. * JSON MIME examples: * application/json * application/json; charset=UTF8 * APPLICATION/JSON * application/vnd.company+json * @param mime - MIME (Multipurpose Internet Mail Extensions) * @return True if the given MIME is JSON, false otherwise. */ static isJsonMime(mime: string): boolean; }