iink-ts - v5.0.0
    Preparing search index...

    Type Alias THmacSigner

    THmacSigner: (message: string, applicationKey: string) => Promise<string>

    Type Declaration

      • (message: string, applicationKey: string): Promise<string>
      • Parameters

        • message: string
        • applicationKey: string

        Returns Promise<string>

    Signs message (the WebSocket HMAC challenge, or the HTTP request body) and resolves the signature as a lowercase hex string, so the HMAC key stays on a server you own.

    computeHmac for the algorithm the server must apply