Interface Options

Hierarchy

  • Options

Properties

algorithm: string

The hashing algorithm

Defaults to sha256

header: string

The header the HMAC is located

Defaults to authorization

identifier: string

The start of your options.header should start with this

Defaults to HMAC

maxInterval: number

The amount of time you would like a request to be valid for, in seconds (in the past). See time based protection against replay attacks for more information

Defaults to 300

minInterval: number

The amount of time you would like a request to be valid for, in seconds (in the future). See time based protection against replay attacks for more information

Defaults to 0

order?: Order

Optional function to order your object before stringifying, see How to handle non-deterministic JSON

Generated using TypeDoc