@scalar/api-client
Version:
the open source API testing client
15 lines • 711 B
TypeScript
import type { SecuritySchemeObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
import type { Request as HarRequest } from 'har-format';
type ProcessedSecuritySchemesReturn = {
headers: HarRequest['headers'];
queryString: HarRequest['queryString'];
cookies: HarRequest['cookies'];
};
/**
* Process security schemes into whichever parameters they are applicable to
*
* TODO: we probably want to be able to disable YOUR_SECRET_TOKEN placeholder text + or allow it to be customzied
*/
export declare const processSecuritySchemes: (securitySchemes: SecuritySchemeObject[]) => ProcessedSecuritySchemesReturn;
export {};
//# sourceMappingURL=process-security-schemes.d.ts.map