@types/mastercard-oauth1-signer
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

Installation

npm install --save @types/mastercard-oauth1-signer

Summary

This package contains type definitions for mastercard-oauth1-signer (https://github.com/Mastercard/oauth1-signer-nodejs#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mastercard-oauth1-signer.

index.d.ts

// tslint:disable-next-line:no-unnecessary-class
declare class OAuth {
    /**
     * Creates a Mastercard API compliant OAuth Authorization header
     */
    static getAuthorizationHeader(
        uri: string,
        method: string,
        payload: string,
        consumerKey: string,
        signingKey: string,
    ): string;
}

export = OAuth;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by Dean Pienaar.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/mastercard-oauth1-signer

Weekly Downloads

4,228

Version

1.1.2

License

MIT

Unpacked Size

3.39 kB

Total Files

5

Last publish

Collaborators

  • types