• Given a secret, a canonical request, a timestamp and context headers, generates a signature. ~~~

    Parameters

    • rawSecret: string
    • rawCanonicalRequest: {
          method: "GET" | "POST" | "PUT" | "PATCH" | "HEAD" | "DELETE" | "OPTIONS";
          path: string;
      } & {
          body?: string;
          headers?: {
              [_: string]: Static<V>;
          };
      }
    • Optional rawTimestamp: number

    Returns SignedRequestWithoutContextHeaders

Generated using TypeDoc