UNPKG

@nodesecure/vulnera

Version:

NodeSecure vulnerabilities strategies

25 lines 561 B
export type ApiCredentialOptions = { type: "bearer"; token: string; } | { type: "token"; token: string; } | { type: "basic"; username: string; password: string; } | { type: "querystring"; name: string; value: string; } | { type: "custom"; authorization: string; }; export declare class ApiCredential { #private; constructor(optionsOrToken?: ApiCredentialOptions | string); get headers(): Record<string, string>; get queryParams(): Record<string, string>; } //# sourceMappingURL=credential.d.ts.map