UNPKG

connect-sdk-nodejs

Version:

SDK to communicate with the Worldline Global Collect platform using the Worldline Connect Server API

9 lines (8 loc) 524 B
import { Authenticator, Header } from "../model"; export declare function getV1HMACSignature(method: string, contentType: string, date: string, headers: Header[], path: string, secretApiKey: string): string; export declare class V1HMACAuthenticator implements Authenticator { private readonly apiKeyId; private readonly secretApiKey; constructor(apiKeyId: string, secretApiKey: string); getAuthorization(method: string, contentType: string, date: string, headers: Header[], path: string): Promise<string>; }