typescript-scaffolder
Version:
 
16 lines • 767 B
TypeScript
/**
* Generates an authentication helper file for the specified API client.
* Supports 'apikey', 'basic', and 'none' authentication types.
*
* @param outputDir - The directory where the auth helper file will be created.
* @param fileBaseName - The base name of the API client file.
* @param authType - The type of authentication ('apikey' | 'basic' | 'none').
* @param credentials - Optional credentials needed for 'apikey' or 'basic' auth.
*/
export declare function generateAuthHelperForApiFile(outputDir: string, fileBaseName: string, authType: "apikey" | "basic" | "none", credentials?: {
username?: string;
password?: string;
apiKeyName?: string;
apiKeyValue?: string;
}): Promise<void>;
//# sourceMappingURL=generate-auth-helper.d.ts.map