Class: ApiKeyStamper
Defined in: api-key-stamper/dist/index.d.ts:17 Stamper to use with@turnkey/http’s TurnkeyClient
Constructors
Constructor
new ApiKeyStamper(Defined in: api-key-stamper/dist/index.d.ts:20config):ApiKeyStamper
Parameters
config
TApiKeyStamperConfig
Returns
ApiKeyStamper
Properties
apiPrivateKey
apiPrivateKey: string
Defined in: api-key-stamper/dist/index.d.ts:19
apiPublicKey
apiPublicKey: string
Defined in: api-key-stamper/dist/index.d.ts:18
Methods
stamp()
stamp(Defined in: api-key-stamper/dist/index.d.ts:21payload):Promise<{stampHeaderName:string;stampHeaderValue:string; }>
Parameters
payload
string
Returns
Promise<{ stampHeaderName: string; stampHeaderValue: string; }>